Decouple network creation from portainer

This commit is contained in:
2025-07-11 11:11:50 +05:30
parent ca0f5f774b
commit 62c8d68dfd
3 changed files with 3 additions and 54 deletions

View File

@@ -7,31 +7,4 @@ services:
- /var/lib/docker/volumes:/var/lib/docker/volumes
ports:
- 9001:9001
networks:
- frontend
- backend
- internal
restart: unless-stopped
networks:
frontend:
name: frontend
driver: bridge
ipam:
config:
- subnet: 172.30.10.0/24
gateway: 172.30.10.1
backend:
name: backend
driver: bridge
ipam:
config:
- subnet: 172.30.20.0/24
gateway: 172.30.20.1
internal:
name: internal
driver: bridge
ipam:
config:
- subnet: 172.30.30.0/24
gateway: 172.30.30.1