chore: Update network configuration to use host network instead of web network

This commit is contained in:
2024-05-18 16:14:35 +08:00
parent cdcf9d6493
commit 13247fb519
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# Environment variables for docker-compose.yml
LOG_LEVEL="DEBUG"
NETWORK="host"
NETWORK="web"
TZ="Asia/Singapore"
## dashboard configs
HOST="furyhawk.lol"
+1 -1
View File
@@ -561,6 +561,6 @@ providers:
filename: /etc/traefik/traefik.yml
watch: true
docker:
network: host
network: web
exposedByDefault: false
endpoint: "unix:///var/run/docker.sock"
+3 -1
View File
@@ -377,6 +377,8 @@ services:
- "${LOG_PATH:-./logs}:/logs"
- production_traefik:/etc/traefik/acme:z
- "/var/run/docker.sock:/var/run/docker.sock:ro"
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- net
- default
@@ -393,4 +395,4 @@ services:
networks:
net:
external: true
name: ${NETWORK:-host}
name: ${NETWORK:-web}