cloudserve-infrastructure/roles/caddy/vars/main.yml
Marty Oehme 7eeeec0489
Move caddy API access to internal variables
Moved the ability to switch off caddy's api access to variables not
intended to be overwritten. It still can, but it is much more difficult.
Since every docker deployment relies on caddy's api to be accessible it
seems weird to present an easily reachable option to turn it off
globally.
2021-10-21 14:25:54 +02:00

10 lines
281 B
YAML

---
caddy_stack:
name: caddy
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
caddy_http_server_name: httpserve
caddy_https_server_name: httpsserve
caddy_use_api: yes # if no turns off api interface; it is *required* for other swarm roles to be routed