Compare commits

..

No commits in common. "64dae9b7c1a3db750fe3d6cbc4a845fc41fd286d" and "c0f1e956dd5918e10677706e4f369d898fe1b7f6" have entirely different histories.

2 changed files with 10 additions and 7 deletions

4
.gitignore vendored
View File

@ -1,5 +1,7 @@
.env
data
data/plugins/*
data/themes/*
data/uploads/*
nginx-conf/nginx.conf

View File

@ -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,7 +27,6 @@ services:
- "./nginx-conf:/etc/nginx/conf.d"
- "./php-conf:/usr/local/etc/php"
networks:
- "traefik"
- "be"
labels:
# Watchtower add to auto update
@ -59,7 +58,7 @@ services:
- "WORDPRESS_DB_PASSWORD=${MYSQL_PASSWORD}"
- "WORDPRESS_DB_NAME=${MYSQL_DATABASE}"
networks:
- "default"
- "db"
- "be"
labels:
# Watchtower add to auto update
@ -74,7 +73,9 @@ services:
command: '--default-authentication-plugin=mysql_native_password'
env_file: ".env"
volumes:
- "${PROJECT_DATA}/${PROJECT_NAME}-wordpress/db:/var/lib/mysql"
- "${PROJECT_DATA}/${PROJECT_NAME}-wordpress/db:/var/lib/mysql"
networks:
- "db"
labels:
# Watchtower add to auto update
- "com.centurylinklabs.watchtower.enable=true"