2023-12-29 18:07:08 +00:00
|
|
|
{# code: language=ansible-jinja #}
|
2023-12-23 16:52:27 +00:00
|
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
|
|
|
|
2023-11-13 20:17:17 +00:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
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
|