git-server/docker-compose.yml

49 lines
1,005 B
YAML
Raw 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:
- USER_UID=1001
- USER_GID=1001
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
2023-01-31 15:23:07 -06:00
# ports:
# - "80:80"
# - "443:443"
# - "443:443/udp"
# - "127.0.0.1:8080:8080"
2022-08-14 15:13:45 -05:00
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: