Compare commits
3 Commits
c0f1e956dd
...
64dae9b7c1
Author | SHA1 | Date | |
---|---|---|---|
|
64dae9b7c1 | ||
|
1692ea17ac | ||
|
14f62013d1 |
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,7 +1,5 @@
|
||||
.env
|
||||
|
||||
data/plugins/*
|
||||
data/themes/*
|
||||
data/uploads/*
|
||||
data
|
||||
|
||||
nginx-conf/nginx.conf
|
@ -2,14 +2,14 @@ version: '1'
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: "${TRAEFIK_NETWORK}"
|
||||
external: true
|
||||
db:
|
||||
name: "${PROJECT_NAME}_wordpress_db_net"
|
||||
external: false
|
||||
be:
|
||||
name: "${PROJECT_NAME}_wordpress_net"
|
||||
external: false
|
||||
traefik:
|
||||
name: "${TRAEFIK_NETWORK}"
|
||||
external: true
|
||||
|
||||
services:
|
||||
webserver:
|
||||
@ -27,6 +27,7 @@ services:
|
||||
- "./nginx-conf:/etc/nginx/conf.d"
|
||||
- "./php-conf:/usr/local/etc/php"
|
||||
networks:
|
||||
- "traefik"
|
||||
- "be"
|
||||
labels:
|
||||
# Watchtower add to auto update
|
||||
@ -58,7 +59,7 @@ services:
|
||||
- "WORDPRESS_DB_PASSWORD=${MYSQL_PASSWORD}"
|
||||
- "WORDPRESS_DB_NAME=${MYSQL_DATABASE}"
|
||||
networks:
|
||||
- "db"
|
||||
- "default"
|
||||
- "be"
|
||||
labels:
|
||||
# Watchtower add to auto update
|
||||
@ -73,9 +74,7 @@ services:
|
||||
command: '--default-authentication-plugin=mysql_native_password'
|
||||
env_file: ".env"
|
||||
volumes:
|
||||
- "${PROJECT_DATA}/${PROJECT_NAME}-wordpress/db:/var/lib/mysql"
|
||||
networks:
|
||||
- "db"
|
||||
- "${PROJECT_DATA}/${PROJECT_NAME}-wordpress/db:/var/lib/mysql"
|
||||
labels:
|
||||
# Watchtower add to auto update
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
|
Loading…
Reference in New Issue
Block a user