git-server/docker-compose.yml

37 lines
691 B
YAML
Raw Normal View History

2022-08-14 15:13:45 -05:00
version: "3"
services:
2024-01-28 12:41:48 -06:00
forgejo:
2024-02-06 11:48:01 -06:00
image: codeberg.org/forgejo/forgejo:1.21.5-0
2024-01-28 12:41:48 -06:00
container_name: forgejo
2022-08-14 15:13:45 -05:00
environment:
2023-05-04 13:39:24 -05:00
- USER_UID=1002
- 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