working: ansible for core services

This commit is contained in:
Kyattsukuro 2026-10-09 23:16:40 +02:00
parent 852e36d8bc
commit 2914caab1e
2 changed files with 8 additions and 6 deletions

View File

@ -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

View File

@ -16,7 +16,8 @@ entryPoints:
{% if 2022 in traefik.expose_additional_ports -%}
public_ssh:
address: ":2022"
{% endif -%}
{% endif %}
serversTransport:
insecureSkipVerify: true
providers: