modify networks: db, traefik, wireguard

This commit is contained in:
gregory hendrickson
2023-12-04 10:55:33 -08:00
parent 3d1ccb8c63
commit 2ee314b9d4
5 changed files with 30 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ services:
- /opt/storagemysql-ghost:/var/lib/mysql # Mount MySQL data directory
hostname: mysql-ghost # Set hostname for MySQL container
networks:
- traefik # Use external network named "traefik"
- db # Use external network named "traefik"
# Ghost service
ghost:
@@ -43,4 +43,6 @@ services:
#This specifies external network traefik - docker network create traefik is required (managed outside of docker-compose)
networks:
traefik:
external: true # Use external network named "traefik"
external: true # Use external network named "traefik"
db:
external: true # Use external network named "db"