mirror of
https://github.com/daylinmorgan/git-server.git
synced 2024-11-13 16:17:52 -06:00
35 lines
691 B
YAML
35 lines
691 B
YAML
services:
|
|
forgejo:
|
|
image: codeberg.org/forgejo/forgejo:8.0.3
|
|
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
|
|
|