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