update nginx
This commit is contained in:
6
nginx-webserver/.env
Normal file
6
nginx-webserver/.env
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
MYSQL_DATABASE=wordpress
|
||||||
|
MYSQL_ROOT_PASSWORD=wordpress
|
||||||
|
MYSQL_USER=wordpress
|
||||||
|
MYSQL_PASSWORD=wordpress
|
||||||
|
APP_HOST=wordpress.traefik.me
|
||||||
|
ROUTER_NAME=wordpress
|
||||||
@@ -14,7 +14,9 @@ services:
|
|||||||
- traefik.http.routers.${ROUTER_NAME}-router.rule=Host(`${APP_HOST}`)
|
- traefik.http.routers.${ROUTER_NAME}-router.rule=Host(`${APP_HOST}`)
|
||||||
- traefik.http.routers.${ROUTER_NAME}-router.tls=true
|
- traefik.http.routers.${ROUTER_NAME}-router.tls=true
|
||||||
volumes:
|
volumes:
|
||||||
db_data:
|
- nginx-html:/usr/share/nginx/html
|
||||||
|
- nginx-conf:/etc/nginx
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik_web:
|
traefik_web:
|
||||||
|
|||||||
Reference in New Issue
Block a user