Move to VM and allow ssh to gitea through host
This commit is contained in:
@@ -79,13 +79,17 @@ services:
|
||||
- DB_NAME=gitea
|
||||
- DB_USER=${DB_USER}
|
||||
- DB_PASSWD=${DB_PASSWORD}
|
||||
- USER_UID=1200
|
||||
- USER_GID=1200
|
||||
- DISABLE_REGISTRATION=true
|
||||
restart: always
|
||||
volumes:
|
||||
- gitea:/data
|
||||
- /home/git/.ssh/:/data/git/.ssh/
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- 222:22
|
||||
- "127.0.0.1:2222:22"
|
||||
networks:
|
||||
- db
|
||||
- nginx
|
||||
@@ -144,11 +148,11 @@ services:
|
||||
|
||||
volumes:
|
||||
db:
|
||||
gitea:
|
||||
monica-public:
|
||||
monica-data:
|
||||
nextcloud:
|
||||
certs:
|
||||
gitea:
|
||||
dashboard:
|
||||
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user