Commit fd729fb3 authored by nanahira's avatar nanahira

catchup

parent b1c2782b
......@@ -14,6 +14,7 @@ services:
- ./conf.d:/etc/nginx/conf.d:ro
- '{{ cache_path | default("./cache") }}:/etc/nginx/cache'
- /etc/localtime:/etc/localtime:ro
- ./sites:/data/sites:ro
environment:
EXTERNAL_REAL_IP: '1'
MAX_CACHE_SIZE: '{{ max_cache_size | default("10g") }}'
......
......@@ -2,6 +2,6 @@ version: '2.4'
services:
cloudflared:
restart: always
image: cloudflare/cloudflared:{{version}}
image: cloudflare/cloudflared:{{version | default('latest')}}
network_mode: host
command: '{{command}}'
......@@ -12,5 +12,5 @@ reflect-kernel-metric true
# local-port-readwrite 33123
{% for interface in interfaces %}
interface {{interface}} type wired
interface {{ interface.name|default(interface) }} type {{ interface.type|default('wired') }}
{% endfor %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment