summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index bf81ea7..74b41c5 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -21,8 +21,8 @@ services:
image: codeberg.org/forgejo/forgejo:1.19.3-0
container_name: git
environment:
- - USER_UID=1000
- - USER_GID=1000
+ - USER_UID=1001
+ - USER_GID=1001
- TZ=Europe/Moscow
- USER=git
- GITEA__database__DB_TYPE=postgres
@@ -30,6 +30,10 @@ services:
- GITEA__database__NAME=${PG_NAME}
- GITEA__database__USER=${PG_USER}
- GITEA__database__PASSWD=${PG_PASS}
+ - GITEA__server__DISABLE_SSH = false
+ - GITEA__server__SSH_PORT = 22
+ - GITEA__server__SSH_LISTEN_PORT = 22
+
restart: always
networks:
- gitea
@@ -37,8 +41,6 @@ services:
volumes:
- /home/git/.ssh/:/data/git/.ssh
- /var/volumes/forge:/data
- # - /var/volumes/forge/gitea:/var/lib/gitea
- # - /var/volumes/forge/config:/etc/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports: