This commit is contained in:
msnie
2024-06-07 11:50:10 +02:00
parent 4a8fd2c336
commit 71478540a8
+9
View File
@@ -11,6 +11,9 @@ services:
database__connection__user: root
database__connection__password: RJbhYNaCEB3fu8cbtkteetxTR5LtZjnPsqATGgPZ
database__connection__database: ghostdb
networks:
- traefik
- default
depends_on:
- ghost_db
restart: unless-stopped
@@ -21,7 +24,10 @@ services:
- "traefik.http.routers.ghost.entrypoints=websecure"
- "traefik.http.routers.ghost.rule=Host(`read.$DOMAIN_NAME`)"
- "traefik.http.routers.ghost.tls.certresolver=letsencr"
ghost_db:
networks:
- default
image: mysql:8
restart: unless-stopped
command: --default-authentication-plugin=mysql_native_password
@@ -31,6 +37,9 @@ services:
- /srv/ghost_mysql:/var/lib/mysql
ports:
- 3306:3306
networks:
traefik:
external: true
default:
external: false