Add network (#6)

Add network

Reviewed-on: #6
Co-authored-by: ryuupendragon <ryuu@ryuu.in>
Co-committed-by: ryuupendragon <ryuu@ryuu.in>
This commit is contained in:
2025-07-08 16:40:16 +05:30
committed by Ryuu Pendragon
parent f076855e32
commit 645561a52b
20 changed files with 150 additions and 59 deletions

View File

@@ -4,9 +4,6 @@ services:
container_name: caddy
cap_add:
- NET_ADMIN
networks:
proxy:
ipv4_address: 172.30.0.2
environment:
- CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}
volumes:
@@ -19,13 +16,10 @@ services:
- ${HTTP_PORT}:80
- ${HTTPS_PORT}:443
- ${HTTPS_PORT}:443/udp
networks:
- frontend
restart: unless-stopped
networks:
proxy:
name: proxy
driver: bridge
ipam:
config:
- subnet: 172.30.0.0/16
gateway: 172.30.0.1
frontend:
external: true