20 lines
450 B
Django/Jinja
20 lines
450 B
Django/Jinja
{# code: language=ansible-jinja #}
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
|
|
|
services:
|
|
caddy:
|
|
image: custom/caddy:{{ proxy_caddy_version }}-alpine
|
|
build:
|
|
context: ./build
|
|
restart: always
|
|
network_mode: host
|
|
volumes:
|
|
- "./data/Caddyfile:/etc/caddy/Caddyfile:ro"
|
|
- "./data/caddy-config:/config:rw"
|
|
- "./data/caddy-data:/data:rw"
|
|
cap_add:
|
|
- net_bind_service
|
|
- dac_override
|
|
cap_drop:
|
|
- all
|