From 71478540a8e6e0777cb256985e07e988d94e2d0d Mon Sep 17 00:00:00 2001 From: msnie Date: Fri, 7 Jun 2024 11:50:10 +0200 Subject: [PATCH] ghost --- ghost/docker-compose.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghost/docker-compose.yml b/ghost/docker-compose.yml index a7b3a69..aacbe21 100644 --- a/ghost/docker-compose.yml +++ b/ghost/docker-compose.yml @@ -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 \ No newline at end of file + external: true + default: + external: false \ No newline at end of file