multica deployment
This commit is contained in:
1 parent
63c5f7eed7
commit
39e2b87941
26 files changed
+2746
-394
No files matched your search
@@ -0,0 +1,26 @@
|
||||
# Managed by Ansible (multica_docker)
|
||||
name: caddy
|
||||
services:
|
||||
caddy:
|
||||
container_name: {{ caddy_container_name }}
|
||||
{% if caddy_tls_mode == 'cloudflare_dns' %}
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: local/caddy-cloudflare:{{ caddy_version }}
|
||||
env_file:
|
||||
- caddy.env
|
||||
{% else %}
|
||||
image: caddy:{{ caddy_version }}
|
||||
{% endif %}
|
||||
# Host networking: Multica's ports are bound to 127.0.0.1 only
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- {{ caddy_install_dir }}/conf:/etc/caddy:ro
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
caddy_config:
|
||||
Reference in new issue
Block a user