git-server/docker-compose.yml

36 lines
694 B
YAML
Raw Permalink Normal View History

2022-08-14 15:13:45 -05:00
services:
2024-01-28 12:41:48 -06:00
forgejo:
image: codeberg.org/forgejo/forgejo:1.21.7-0
2024-01-28 12:41:48 -06:00
container_name: forgejo
2022-08-14 15:13:45 -05:00
environment:
2024-03-18 13:24:37 -05:00
# git user
- USER_UID=1001
2023-05-04 13:39:24 -05:00
- USER_GID=100
2022-08-14 15:13:45 -05:00
restart: always
volumes:
2024-01-28 12:41:48 -06:00
- ./forgejo:/data
2022-08-14 15:13:45 -05:00
- /home/git/.ssh/:/data/git/.ssh
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
2023-07-25 10:56:26 -05:00
- "2222:22"
networks:
- caddy
2022-08-14 15:13:45 -05:00
soft-serve:
2023-11-06 11:54:54 -06:00
container_name: soft-serve
2023-12-17 18:26:17 -06:00
image: charmcli/soft-serve:v0.7.4
2023-11-08 11:43:45 -06:00
restart: unless-stopped
volumes:
- ./soft/data:/soft-serve
ports:
- 23231:23231
2023-07-25 10:56:26 -05:00
- 23232:23232
- 23233:23233
- 9418:9418
2023-07-25 10:56:26 -05:00
networks:
caddy:
2022-08-14 15:13:45 -05:00
external: true
2023-07-25 10:56:26 -05:00