removed unnecessary external Gitea port, added ssh port

This commit is contained in:
Bryan Joshua Pedini 2022-01-07 12:40:49 +01:00
parent cc1c25b263
commit 9320847167
2 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,7 @@ services:
- ./gitea_data:/data - ./gitea_data:/data
- ${GIT_HOMEDIR}/.ssh:/data/git/.ssh - ${GIT_HOMEDIR}/.ssh:/data/git/.ssh
ports: ports:
- 3000:3000 - ${SSH_PORT}:22
db: db:
container_name: ${SERVICE_NAME}_mysql container_name: ${SERVICE_NAME}_mysql
environment: environment:

View File

@ -10,3 +10,4 @@ TRAEFIK_SERVICE=git_mydomain_com
USER_GID=1000 USER_GID=1000
USER_UID=1000 USER_UID=1000
GIT_HOMEDIR=/home/git GIT_HOMEDIR=/home/git
SSH_PORT=127.0.0.1:2222