Compare commits

..

3 Commits

Author SHA1 Message Date
rama
64dae9b7c1 Merge pull request 'testing' (#3) from testing into main
Reviewed-on: #3
2023-11-26 12:17:31 +01:00
Raphael Martin
1692ea17ac changed default network 2023-11-26 12:15:34 +01:00
Raphael Martin
14f62013d1 changed .gitignore 2023-11-25 16:15:59 +01:00
2 changed files with 7 additions and 10 deletions

4
.gitignore vendored
View File

@ -1,7 +1,5 @@
.env
data/plugins/*
data/themes/*
data/uploads/*
data
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,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
@ -74,8 +75,6 @@ services:
env_file: ".env"
volumes:
- "${PROJECT_DATA}/${PROJECT_NAME}-wordpress/db:/var/lib/mysql"
networks:
- "db"
labels:
# Watchtower add to auto update
- "com.centurylinklabs.watchtower.enable=true"