Compare commits
2 commits
60c4f17219
...
59db3b2fb7
Author | SHA1 | Date | |
---|---|---|---|
59db3b2fb7 | |||
84521ec8a9 |
2 changed files with 14 additions and 3 deletions
|
@ -49,6 +49,8 @@ services:
|
||||||
- traefik.http.routers.forgejo.service=forgejo
|
- traefik.http.routers.forgejo.service=forgejo
|
||||||
- traefik.http.services.forgejo.loadbalancer.server.port=3000
|
- traefik.http.services.forgejo.loadbalancer.server.port=3000
|
||||||
- traefik.docker.network=traefik
|
- traefik.docker.network=traefik
|
||||||
|
- traefik.http.middlewares.set-forwarded-for.headers.hostsProxyHeaders=X-Forwarded-For
|
||||||
|
- traefik.http.routers.forgejo.middlewares=set-forwarded-for
|
||||||
configs:
|
configs:
|
||||||
- source: config
|
- source: config
|
||||||
target: /data/gitea/conf/app.ini
|
target: /data/gitea/conf/app.ini
|
||||||
|
|
|
@ -23,9 +23,18 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
ports:
|
ports:
|
||||||
- 443:443
|
- mode: host
|
||||||
- 80:80
|
protocol: tcp
|
||||||
- 444:444
|
published: 443
|
||||||
|
target: 443
|
||||||
|
- mode: host
|
||||||
|
protocol: tcp
|
||||||
|
published: 80
|
||||||
|
target: 80
|
||||||
|
- mode: host
|
||||||
|
protocol: tcp
|
||||||
|
published: 444
|
||||||
|
target: 444
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
|
|
Reference in a new issue