mirror of
https://github.com/iritmaximus/self-host.git
synced 2026-10-12 19:23:31 +03:00
added git server to self-hosting
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user