[server]
SSH_DOMAIN = git.domain-name.xz
ROOT_URL = http://git.domain-name.xz/
SSH_PORT = 222
gitea:
...
ports:
- "222:22"
server {
listen 222;
server_name git.domain-name.xz;
location / {
proxy_pass http://gitea:22;
}
}