mirror of
https://github.com/daylinmorgan/git-server.git
synced 2024-12-22 03:40:44 -06:00
drop caddy to it's own container/repo
This commit is contained in:
parent
ba41c48615
commit
906998015a
2 changed files with 11 additions and 26 deletions
|
@ -1,7 +0,0 @@
|
||||||
git.dayl.in {
|
|
||||||
reverse_proxy 127.0.0.1:3000
|
|
||||||
}
|
|
||||||
|
|
||||||
f1.dayl.in {
|
|
||||||
reverse_proxy 127.0.0.1:8000
|
|
||||||
}
|
|
|
@ -14,30 +14,22 @@ services:
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:3000:3000"
|
- "2222:22"
|
||||||
- "127.0.0.0:222:22"
|
networks:
|
||||||
- "127.0.0.1:2222:22"
|
- caddy
|
||||||
|
|
||||||
caddy:
|
|
||||||
image: caddy:2.5.2-alpine
|
|
||||||
restart: unless-stopped
|
|
||||||
container_name: caddy
|
|
||||||
volumes:
|
|
||||||
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
|
|
||||||
- caddy_data:/data
|
|
||||||
- caddy_config:/config
|
|
||||||
network_mode: host
|
|
||||||
|
|
||||||
soft-serve:
|
soft-serve:
|
||||||
image: charmcli/soft-serve:v0.4.4
|
image: charmcli/soft-serve:v0.5.2
|
||||||
restart: unless-stopped
|
|
||||||
container_name: soft-serve
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./soft/data:/soft-serve
|
- ./soft/data:/soft-serve
|
||||||
ports:
|
ports:
|
||||||
- 23231:23231
|
- 23231:23231
|
||||||
|
- 23232:23232
|
||||||
|
- 23233:23233
|
||||||
|
- 9418:9418
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
networks:
|
||||||
caddy_data:
|
caddy:
|
||||||
external: true
|
external: true
|
||||||
caddy_config:
|
|
||||||
|
|
Loading…
Reference in a new issue