added git server to self-hosting

This commit is contained in:
Aaro Koivukangas
2024-03-06 17:13:13 +02:00
parent 4a8643d6f7
commit 03234d6dda
+20
View File
@@ -114,6 +114,25 @@ services:
env_file:
- ./services/bort/frontend/.env
git-server:
image: codeberg.org/forgejo/forgejo:1.21
container_name: forgejo
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
networks:
- forgejo
volumes:
- ./data/forgejo:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- '3000:3000'
- '222:22'
# nginx:
# image: nginx
# ports:
@@ -125,3 +144,4 @@ services:
networks:
bort:
forgejo: