2022-08-14 15:13:45 -05:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
gitea:
|
|
|
|
external: false
|
|
|
|
|
|
|
|
services:
|
|
|
|
server:
|
|
|
|
image: gitea/gitea:1.17
|
|
|
|
container_name: gitea
|
|
|
|
environment:
|
|
|
|
- USER_UID=1001
|
|
|
|
- USER_GID=1001
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- gitea
|
|
|
|
volumes:
|
|
|
|
- ./gitea:/data
|
|
|
|
- /home/git/.ssh/:/data/git/.ssh
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
- "222:22"
|
|
|
|
- "127.0.0.1:2222:22"
|
|
|
|
|
|
|
|
caddy:
|
|
|
|
image: caddy:2.5.2-alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
container_name: caddy
|
|
|
|
networks:
|
|
|
|
- gitea
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
|
|
|
- "443:443/udp"
|
|
|
|
volumes:
|
|
|
|
- $PWD/Caddyfile:/etc/caddy/Caddyfile
|
|
|
|
- caddy_data:/data
|
|
|
|
- caddy_config:/config
|
|
|
|
|
2022-08-14 18:16:59 -05:00
|
|
|
soft-serve:
|
|
|
|
image: charmcli/soft-serve:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
container_name: soft-serve
|
|
|
|
volumes:
|
|
|
|
- ./soft:/soft-serve
|
|
|
|
ports:
|
|
|
|
- 23231:23231
|
|
|
|
|
2022-08-14 15:13:45 -05:00
|
|
|
volumes:
|
|
|
|
caddy_data:
|
|
|
|
external: true
|
|
|
|
caddy_config:
|