fix entworking
This commit is contained in:
parent
99b0562c2f
commit
bfcb73c753
1 changed files with 9 additions and 1 deletions
|
|
@ -21,6 +21,9 @@ services:
|
|||
ports:
|
||||
- "3000:3000"
|
||||
- "222:22"
|
||||
networks:
|
||||
- fj_internal
|
||||
- fj_external
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=${TRAEFIK_NETWORK}"
|
||||
|
|
@ -40,4 +43,9 @@ services:
|
|||
# --- SHARED SERVICE ---
|
||||
- "traefik.http.services.forgejo-common-svc.loadbalancer.server.port=3000"
|
||||
# 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
|
||||
Loading…
Reference in a new issue