Merge branch 'network'

This commit is contained in:
2025-07-08 16:56:59 +05:30
parent 645561a52b
commit 595953e0f3
2 changed files with 53 additions and 3 deletions

View File

@@ -6,5 +6,30 @@ services:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
ports:
- "9001:9001"
- 9001:9001
networks:
- 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