added keys for ssh passthrough

This commit is contained in:
Bryan Joshua Pedini 2022-01-07 12:32:00 +01:00
parent e5876af9e6
commit f766a881d5
2 changed files with 3 additions and 1 deletions

View File

@ -31,9 +31,10 @@ services:
- traefik-proxy - traefik-proxy
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./gitea_data:/data
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- ./gitea_data:/data
- ${GIT_HOMEDIR}/.ssh:/data/git/.ssh
ports: ports:
- 3000:3000 - 3000:3000
db: db:

View File

@ -9,3 +9,4 @@ TRAEFIK_ROUTER=git_bjphoster_com
TRAEFIK_SERVICE=gitbjphostercom TRAEFIK_SERVICE=gitbjphostercom
USER_GID=1000 USER_GID=1000
USER_UID=1000 USER_UID=1000
GIT_HOMEDIR=/home/git