Add basic caddy swarm role

Added caddy as swarm container. Uses templated Caddyfile which can be
set up for testing purposes for now.
Depends on docker and docker-swarm, and will keep its stuff where
docker-swarm sets itself up.
This commit is contained in:
Marty Oehme 2021-07-29 14:35:41 +02:00
parent 453cd2fd2b
commit 9f188c2674
Signed by: Marty
GPG key ID: B7538B8F50A1C800
7 changed files with 102 additions and 0 deletions

View file

@ -0,0 +1,13 @@
---
caddy_version: alpine
caddy_caddyfile_dir: "{{ docker_stack_files_dir }}/caddy"
caddy_use_debug: no
caddy_use_https: yes
caddy_tls_use_staging: no
# caddy_email: your@email.here
# sets up a quick test server on port 80 to see if the container is set up correctly
caddy_create_test_file_server: no