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.services.forgejo.loadbalancer.server.port=3000
|
||||
- traefik.docker.network=traefik
|
||||
- traefik.http.middlewares.set-forwarded-for.headers.hostsProxyHeaders=X-Forwarded-For
|
||||
- traefik.http.routers.forgejo.middlewares=set-forwarded-for
|
||||
configs:
|
||||
- source: config
|
||||
target: /data/gitea/conf/app.ini
|
||||
|
|
|
@ -23,9 +23,18 @@ services:
|
|||
networks:
|
||||
- traefik
|
||||
ports:
|
||||
- 443:443
|
||||
- 80:80
|
||||
- 444:444
|
||||
- mode: host
|
||||
protocol: tcp
|
||||
published: 443
|
||||
target: 443
|
||||
- mode: host
|
||||
protocol: tcp
|
||||
published: 80
|
||||
target: 80
|
||||
- mode: host
|
||||
protocol: tcp
|
||||
published: 444
|
||||
target: 444
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
|
|
Reference in a new issue