mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-13 03:58:47 +00:00
18 lines
685 B
YAML
18 lines
685 B
YAML
|
---
|
||
|
- name: Dashy Docker Container
|
||
|
docker_container:
|
||
|
name: dashy
|
||
|
image: lissy93/dashy:latest
|
||
|
pull: true
|
||
|
ports:
|
||
|
- "{{ dashy_port }}:80"
|
||
|
restart_policy: unless-stopped
|
||
|
memory: "{{ dashy_memory }}"
|
||
|
labels:
|
||
|
traefik.enable: "{{ dashy_available_externally }}"
|
||
|
traefik.http.routers.dashy.rule: "Host(`{{ dashy_hostname }}.{{ ansible_nas_domain }}`)"
|
||
|
traefik.http.routers.dashy.tls.certresolver: "letsencrypt"
|
||
|
traefik.http.routers.dashy.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
||
|
traefik.http.routers.dashy.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
||
|
traefik.http.services.dashy.loadbalancer.server.port: "80"
|