fix: use container hostname and correct network name
Some checks failed
Deploy / deploy (push) Failing after 8s
Some checks failed
Deploy / deploy (push) Failing after 8s
- Replace hardcoded IP 172.29.0.7 with container hostname 'outline' - Fix network name from 'domverse' to 'domnet' (actual external network) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -18,11 +18,11 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- default
|
||||
- domverse
|
||||
- domnet
|
||||
labels:
|
||||
- "traefik.docker.network=domverse"
|
||||
- "traefik.docker.network=domnet"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.outline-sync.rule=Host(`sync.domverse-berlin.eu`)"
|
||||
- "traefik.http.routers.outline-sync.rule=Host(`sync.domnet-berlin.eu`)"
|
||||
- "traefik.http.routers.outline-sync.entrypoints=https"
|
||||
- "traefik.http.routers.outline-sync.tls.certresolver=http"
|
||||
- "traefik.http.routers.outline-sync.middlewares=authentik@docker"
|
||||
@@ -36,7 +36,7 @@ services:
|
||||
- outline-sync-ts
|
||||
network_mode: "service:outline-sync-ts"
|
||||
environment:
|
||||
- OUTLINE_URL=${OUTLINE_URL:-http://172.29.0.7:3000}
|
||||
- OUTLINE_URL=${OUTLINE_URL:-http://outline:3000}
|
||||
- OUTLINE_TOKEN=${OUTLINE_TOKEN}
|
||||
|
||||
volumes:
|
||||
@@ -45,5 +45,5 @@ volumes:
|
||||
|
||||
networks:
|
||||
default: {}
|
||||
domverse:
|
||||
domnet:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user