fix: Map ssh on gitea service

This commit is contained in:
Joao P Dubas 2024-02-15 00:34:05 +00:00
parent b49f5dc82d
commit 82769ef2b1
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -4,9 +4,13 @@ services:
server:
image: gitea/gitea:1.21.4
container_name: gitea
ports:
- "222:22"
environment:
- USER_UID=1000
- USER_GID=1000
- SSH_PORT=222
- SSH_LISTEN_PORT=22
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=db:5432
- GITEA__database__NAME=gitea