Initialise repository structure and placeholder files. Generic functionality works i guess, need to come up with a better solution for compose templates
This commit is contained in:
commit
53695f4fff
411 files changed
+7817
No files matched your search
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
traefik:
|
||||
image: {{ traefik_image }}
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
{% if traefik_publish_entrypoints %}
|
||||
ports:
|
||||
- "{{ traefik_bind_address }}:{{ traefik_http_port }}:{{ traefik_http_port }}"
|
||||
- "{{ traefik_bind_address }}:{{ traefik_https_port }}:{{ traefik_https_port }}"
|
||||
{% if traefik_dashboard_enabled %}
|
||||
- "{{ traefik_bind_address }}:{{ traefik_dashboard_port }}:{{ traefik_dashboard_port }}"
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- ./traefik.yml:/etc/traefik/traefik.yml:ro
|
||||
- ./data:/data
|
||||
networks:
|
||||
- {{ traefik_network }}
|
||||
networks:
|
||||
{{ traefik_network }}:
|
||||
external: true
|
||||
@@ -0,0 +1,6 @@
|
||||
TRAEFIK_DOMAIN={{ traefik_domain }}
|
||||
TRAEFIK_ACME_EMAIL={{ traefik_acme_email }}
|
||||
{% for key, value in traefik_env.items() %}
|
||||
{{ key }}={{ value }}
|
||||
{% endfor %}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
api:
|
||||
dashboard: {{ traefik_dashboard_enabled | bool | ternary('true', 'false') }}
|
||||
entryPoints:
|
||||
web:
|
||||
address: ":{{ traefik_http_port }}"
|
||||
{% if traefik_forwarded_headers_trusted_ips | length > 0 %}
|
||||
forwardedHeaders:
|
||||
trustedIPs:
|
||||
{% for cidr in traefik_forwarded_headers_trusted_ips %}
|
||||
- "{{ cidr }}"
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
websecure:
|
||||
address: ":{{ traefik_https_port }}"
|
||||
{% if traefik_forwarded_headers_trusted_ips | length > 0 %}
|
||||
forwardedHeaders:
|
||||
trustedIPs:
|
||||
{% for cidr in traefik_forwarded_headers_trusted_ips %}
|
||||
- "{{ cidr }}"
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
providers:
|
||||
docker:
|
||||
exposedByDefault: false
|
||||
certificatesResolvers:
|
||||
letsencrypt:
|
||||
acme:
|
||||
email: "{{ traefik_acme_email }}"
|
||||
storage: /data/acme.json
|
||||
httpChallenge:
|
||||
entryPoint: web
|
||||
Reference in new issue
Block a user