fix: add Traefik labels and proxy network for nexus.noveria.net routing
This commit is contained in:
+11
-1
@@ -101,6 +101,12 @@ services:
|
|||||||
delay: 5s
|
delay: 5s
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
window: 120s
|
window: 120s
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.nexus.rule=Host(`nexus.noveria.net`)"
|
||||||
|
- "traefik.http.routers.nexus.tls=true"
|
||||||
|
- "traefik.http.routers.nexus.tls.certresolver=letsencrypt"
|
||||||
|
- "traefik.http.services.nexus.loadbalancer.server.port=80"
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:18880:80"
|
- "127.0.0.1:18880:80"
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -112,7 +118,9 @@ services:
|
|||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period: 10s
|
start_period: 10s
|
||||||
networks: [nexus]
|
networks:
|
||||||
|
- nexus
|
||||||
|
- proxy
|
||||||
logging:
|
logging:
|
||||||
driver: "json-file"
|
driver: "json-file"
|
||||||
options:
|
options:
|
||||||
@@ -123,6 +131,8 @@ networks:
|
|||||||
nexus:
|
nexus:
|
||||||
openclaw_default:
|
openclaw_default:
|
||||||
external: true
|
external: true
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
nexus-postgres:
|
nexus-postgres:
|
||||||
|
|||||||
Reference in New Issue
Block a user