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:
volumes:
- /opt/storagemysql-nextcloud:/var/lib/mysql # Mount MySQL data directory
networks:
- traefik # Use external network named "traefik"
- db # Use external network named "traefik"
# Nextcloud service
nextcloud:
@@ -71,5 +71,7 @@ services:
networks:
traefik:
external: true # Use external network named "traefik"
db:
external: true # Use external network named "db"