change forgejo ssh port
This commit is contained in:
parent
5b31f5dddb
commit
4c4f558579
5 changed files with 11 additions and 4 deletions
|
@ -16,7 +16,7 @@ services:
|
|||
- traefik
|
||||
volumes:
|
||||
- /data/forgejo:/data
|
||||
- /apps/forgejo/conf:/data/forgejo/conf
|
||||
- /apps/forgejo/conf:/data/gitea/conf
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
labels:
|
||||
|
@ -24,4 +24,10 @@ services:
|
|||
- traefik.http.routers.forgejo.rule=Host(`git.pizzapim.nl`)
|
||||
- traefik.http.routers.forgejo.tls=true
|
||||
- traefik.http.routers.forgejo.tls.certresolver=pizzapim
|
||||
- traefik.tcp.routers.forgejo-ssh.service=forgejo
|
||||
- traefik.http.services.forgejo.loadbalancer.server.port=3000
|
||||
|
||||
- traefik.tcp.routers.forgejo-ssh.rule=HostSNI(`*`)
|
||||
- traefik.tcp.routers.forgejo-ssh.entrypoints=ssh
|
||||
- traefik.tcp.routers.forgejo-ssh.service=forgejo-ssh
|
||||
- traefik.tcp.services.forgejo-ssh.loadbalancer.server.port=22
|
||||
|
|
|
@ -18,7 +18,7 @@ SSH_DOMAIN = git.pizzapim.nl
|
|||
HTTP_PORT = 3000
|
||||
ROOT_URL = {{ forgejo.root_url }}
|
||||
DISABLE_SSH = false
|
||||
SSH_PORT = 2222
|
||||
SSH_PORT = 56287
|
||||
SSH_LISTEN_PORT = 22
|
||||
LFS_START_SERVER = true
|
||||
LFS_JWT_SECRET = {{ forgejo.lfs_jwt_secret }}
|
||||
|
|
Reference in a new issue