2022-11-04 13:01:36 +01:00
|
|
|
version: "3.4"
|
|
|
|
|
|
|
|
services:
|
|
|
|
hostman:
|
2022-12-16 14:17:11 +01:00
|
|
|
image: julienlecomte/docker-make
|
2022-11-04 13:01:36 +01:00
|
|
|
command: ["./hostman.sh", "&", "wait", "$!" ]
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
2022-12-16 14:17:11 +01:00
|
|
|
- /etc/hosts:/config/hosts:rw
|
2022-11-11 15:38:59 +01:00
|
|
|
- ./script/hostman.sh:/hostman.sh:ro
|
2022-12-16 14:17:11 +01:00
|
|
|
- ./script/docker-templater.sh:/docker-templater.sh:ro
|
|
|
|
- ./templates:/templates
|
|
|
|
- ./config:/config
|
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
proxy:
|
|
|
|
image: caddy:2.6.2-alpine
|
2022-11-04 13:01:36 +01:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
2022-12-16 14:17:11 +01:00
|
|
|
- ./config/Caddyfile:/etc/caddy/Caddyfile
|
2022-11-04 13:01:36 +01:00
|
|
|
networks:
|
2022-11-04 13:54:00 +01:00
|
|
|
- proxy
|
2022-11-04 13:01:36 +01:00
|
|
|
|
|
|
|
networks:
|
2022-11-04 13:54:00 +01:00
|
|
|
proxy:
|
|
|
|
name: proxy
|
2022-11-04 13:01:36 +01:00
|
|
|
external: false
|