diff --git a/compose/forgejo/compose.yaml b/compose/forgejo/compose.yaml index a9320f2..0f45c5c 100644 --- a/compose/forgejo/compose.yaml +++ b/compose/forgejo/compose.yaml @@ -28,7 +28,11 @@ services: - USER_GID=1000 - TZ=Europe/Zurich - FORGEJO__server__ROOT_URL=http://10.100.20.13:3000/ - - FORGEJO__server__DISABLE_SSH=true + - FORGEJO__server__DISABLE_SSH=false + - FORGEJO__server__SSH_DOMAIN=10.100.20.13 + - FORGEJO__server__SSH_PORT=2222 + - FORGEJO__server__START_SSH_SERVER=true + - FORGEJO__server__SSH_LISTEN_PORT=2222 - FORGEJO__database__DB_TYPE=mysql - FORGEJO__database__HOST=forgejo-db:3306 - FORGEJO__database__NAME=forgejo @@ -37,6 +41,7 @@ services: - FORGEJO__repository__ROOT=/git/repos ports: - "3000:3000" + - "2222:2222" volumes: - /srv/data/forgejo:/data - /srv/git/repos:/git/repos @@ -47,4 +52,4 @@ services: networks: dev-nw: - external: true \ No newline at end of file + external: true