git-server/docker-compose.yml
2024-11-13 13:47:40 -06:00

35 lines
691 B
YAML

services:
forgejo:
image: codeberg.org/forgejo/forgejo:9.0.0
container_name: forgejo
environment:
# git user
- USER_UID=1001
- USER_GID=100
restart: always
volumes:
- ./forgejo:/data
- /home/git/.ssh/:/data/git/.ssh
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "2222:22"
networks:
- caddy
soft-serve:
container_name: soft-serve
image: charmcli/soft-serve:v0.7.4
restart: unless-stopped
volumes:
- ./soft/data:/soft-serve
ports:
- 23231:23231
- 23232:23232
- 23233:23233
- 9418:9418
networks:
caddy:
external: true