stacks/melville/docker-compose.yaml

45 lines
944 B
YAML
Raw Normal View History

2021-12-17 09:38:07 -07:00
version: "3.8"
services:
2022-09-04 17:12:30 -06:00
caddy:
image: caddy
2021-12-17 09:38:07 -07:00
ports:
- target: 80
published: 80
mode: host
- target: 443
published: 443
mode: host
volumes:
- type: bind
2022-09-04 17:12:30 -06:00
source: /srv/caddy
target: /data/caddy
2021-12-17 09:38:07 -07:00
- type: bind
2022-09-04 17:12:30 -06:00
source: /srv/www
target: /srv/www
read_only: true
2022-11-10 21:22:15 -07:00
extra_hosts:
- host.docker.internal:host-gateway
2022-09-04 17:12:30 -06:00
configs:
- source: Caddyfile
target: /etc/caddy/Caddyfile
2021-12-17 09:38:07 -07:00
2022-11-12 17:08:10 -07:00
simpleauth:
image: zix99/simple-auth
environment:
SA_WEB_LOGIN_COOKIE_JWT_SIGNINGKEY: a-unqiue-signing-key
SA_VERBOSE: 'true'
SA_WEB_LOGIN_SETTINGS_ROUTEONLOGIN: "/"
SA_AUTHENTICATORS_VOUCH_ENABLED: 'true'
volumes:
- type: volume
source: sadb
target: /var/lib/simple-auth
2021-12-17 09:38:07 -07:00
vail:
2022-09-04 17:12:30 -06:00
image: ghcr.io/nealey/vail:main
2021-12-17 09:38:07 -07:00
2022-09-04 17:12:30 -06:00
configs:
Caddyfile:
file: Caddyfile
2022-11-11 14:18:41 -07:00
name: Caddyfile-v7