git-server/docker-compose.yml

44 lines
897 B
YAML
Raw Permalink Normal View History

2022-08-14 15:13:45 -05:00
version: "3"
services:
2022-08-14 22:25:35 -05:00
gitea:
2023-01-24 16:56:13 -06:00
image: gitea/gitea:1.18.3
2022-08-14 15:13:45 -05:00
container_name: gitea
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:
- ./gitea:/data
- /home/git/.ssh/:/data/git/.ssh
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
2023-01-31 15:23:07 -06:00
- "127.0.0.1:3000:3000"
- "127.0.0.0:222:22"
2022-08-14 15:13:45 -05:00
- "127.0.0.1:2222:22"
caddy:
image: caddy:2.5.2-alpine
restart: unless-stopped
container_name: caddy
volumes:
2022-08-15 00:41:39 -05:00
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
2022-08-14 15:13:45 -05:00
- caddy_data:/data
- caddy_config:/config
2023-01-31 15:23:07 -06:00
network_mode: host
2022-08-14 15:13:45 -05:00
soft-serve:
2023-01-24 16:56:13 -06:00
image: charmcli/soft-serve:v0.4.4
restart: unless-stopped
container_name: soft-serve
volumes:
- ./soft/data:/soft-serve
ports:
- 23231:23231
2022-08-14 15:13:45 -05:00
volumes:
caddy_data:
external: true
caddy_config: