feat: clean up redundant networks

This commit is contained in:
2025-12-19 00:11:28 +00:00
parent 2d021505a3
commit 510a132268
2 changed files with 2 additions and 9 deletions

View File

@@ -20,11 +20,9 @@ services:
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data - portainer_data:/data
expose: ports:
- 9443 - 9443:9443
- 8000 # Remove if you do not intend to use Edge Agents
networks: networks:
- default
- traefik_public - traefik_public
volumes: volumes:
@@ -32,7 +30,5 @@ volumes:
name: portainer_data name: portainer_data
networks: networks:
default:
name: kendricklab
traefik_public: traefik_public:
external: true external: true

View File

@@ -1,8 +1,6 @@
version: "3" version: "3"
networks: networks:
gitea:
external: false
traefik_public: traefik_public:
external: true external: true
@@ -34,7 +32,6 @@ services:
traefik.tcp.routers.gitea-ssh.tls.passthrough: "true" traefik.tcp.routers.gitea-ssh.tls.passthrough: "true"
traefik.tcp.services.gitea-ssh.loadbalancer.server.address: "${HOST_IP}:222" traefik.tcp.services.gitea-ssh.loadbalancer.server.address: "${HOST_IP}:222"
networks: networks:
- gitea
- traefik_public - traefik_public
volumes: volumes:
- ${CONFIG_ROOT}/gitea:/data - ${CONFIG_ROOT}/gitea:/data