fix entworking

This commit is contained in:
admin 2026-02-02 12:30:01 -07:00
parent 99b0562c2f
commit bfcb73c753

View file

@ -21,6 +21,9 @@ services:
ports: ports:
- "3000:3000" - "3000:3000"
- "222:22" - "222:22"
networks:
- fj_internal
- fj_external
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.docker.network=${TRAEFIK_NETWORK}" - "traefik.docker.network=${TRAEFIK_NETWORK}"
@ -41,3 +44,8 @@ services:
- "traefik.http.services.forgejo-common-svc.loadbalancer.server.port=3000" - "traefik.http.services.forgejo-common-svc.loadbalancer.server.port=3000"
# Forgejo benefits from sticky sessions to keep the web-git terminal stable # Forgejo benefits from sticky sessions to keep the web-git terminal stable
- "traefik.http.services.forgejo-common-svc.loadbalancer.sticky.cookie=true" - "traefik.http.services.forgejo-common-svc.loadbalancer.sticky.cookie=true"
networks:
fj_internal:
external: true
fj_external:
driver: bridge