Commit fd729fb3 authored by nanahira's avatar nanahira

catchup

parent b1c2782b
...@@ -14,6 +14,7 @@ services: ...@@ -14,6 +14,7 @@ services:
- ./conf.d:/etc/nginx/conf.d:ro - ./conf.d:/etc/nginx/conf.d:ro
- '{{ cache_path | default("./cache") }}:/etc/nginx/cache' - '{{ cache_path | default("./cache") }}:/etc/nginx/cache'
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- ./sites:/data/sites:ro
environment: environment:
EXTERNAL_REAL_IP: '1' EXTERNAL_REAL_IP: '1'
MAX_CACHE_SIZE: '{{ max_cache_size | default("10g") }}' MAX_CACHE_SIZE: '{{ max_cache_size | default("10g") }}'
......
...@@ -2,6 +2,6 @@ version: '2.4' ...@@ -2,6 +2,6 @@ version: '2.4'
services: services:
cloudflared: cloudflared:
restart: always restart: always
image: cloudflare/cloudflared:{{version}} image: cloudflare/cloudflared:{{version | default('latest')}}
network_mode: host network_mode: host
command: '{{command}}' command: '{{command}}'
...@@ -12,5 +12,5 @@ reflect-kernel-metric true ...@@ -12,5 +12,5 @@ reflect-kernel-metric true
# local-port-readwrite 33123 # local-port-readwrite 33123
{% for interface in interfaces %} {% for interface in interfaces %}
interface {{interface}} type wired interface {{ interface.name|default(interface) }} type {{ interface.type|default('wired') }}
{% endfor %} {% 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