working: ansible for core services
This commit is contained in:
parent
852e36d8bc
commit
2914caab1e
@ -9,17 +9,18 @@ services:
|
||||
- exposed
|
||||
ports:
|
||||
- {{ traefik.http_port }}:{{ traefik.http_port }}
|
||||
|
||||
- {{ traefik.https_port }}:{{ traefik.https_port }}
|
||||
{% for port in traefik.expose_additional_ports %}
|
||||
- "{{ port }}"
|
||||
|
||||
{% for port in traefik.expose_additional_ports -%}
|
||||
- "{{ port }}:{{ port }}"
|
||||
{% endfor %}
|
||||
|
||||
environment:
|
||||
- HETZNER_API_TOKEN={{ traefik.hetzner_api_token }}
|
||||
{% if traefik.duckdns_api_token %}
|
||||
{% if traefik.duckdns_api_token -%}
|
||||
- DUCKDNS_TOKEN={{ traefik.duckdns_api_token }}
|
||||
{%- endif -%}
|
||||
{% endif -%}
|
||||
|
||||
- AUTH_STRING={{ traefik.basic_auth_password }}
|
||||
- DUCKDNS_POLLING_INTERVAL=5
|
||||
- DUCKDNS_PROPAGATION_TIMEOUT=120
|
||||
|
||||
@ -16,7 +16,8 @@ entryPoints:
|
||||
{% if 2022 in traefik.expose_additional_ports -%}
|
||||
public_ssh:
|
||||
address: ":2022"
|
||||
{% endif -%}
|
||||
{% endif %}
|
||||
|
||||
serversTransport:
|
||||
insecureSkipVerify: true
|
||||
providers:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user