git-server/docker-compose.yml

31 lines
644 B
YAML
Raw Normal View History

2022-08-14 15:13:45 -05:00
services:
2024-01-28 12:41:48 -06:00
forgejo:
2024-11-13 13:47:40 -06:00
image: codeberg.org/forgejo/forgejo:9.0.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:
- "3000:3000"
2023-07-25 10:56:26 -05:00
- "2222:22"
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