From 743d5a898c348c5a761669b6b59af8a55ffce0ba Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Mon, 3 Jun 2024 09:08:40 +0800 Subject: [PATCH] Refactor swarm/ghost.yml to update network names and domain for Ghost stack --- swarm/ghost.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/swarm/ghost.yml b/swarm/ghost.yml index 9446e5c..738f404 100644 --- a/swarm/ghost.yml +++ b/swarm/ghost.yml @@ -2,7 +2,7 @@ volumes: ghost_content: {} ghost_mysql: {} networks: - net: + ghost: driver: overlay attachable: true traefik-public: @@ -22,7 +22,7 @@ services: expose: - 3306 networks: - - net + - ghost ghost-server: image: ghost @@ -40,13 +40,13 @@ services: database__connection__user: root database__connection__password: ${POSTGRES_PASSWORD} database__connection__database: ghost - DOMAIN: ${DOMAIN} + DOMAIN: https://ghost.${DOMAIN} volumes: - ghost_content:/var/lib/ghost/content expose: - 2368 networks: - - net + - ghost - traefik-public deploy: labels: