This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
shoarma/ansible/roles/static/docker-stack.yml.j2
Pim Kunis 57d66c8afa add static stack
start using remote docker hosts to deploy
2023-05-20 12:13:29 +02:00

23 lines
613 B
Django/Jinja

# vi: ft=yaml
version: '3'
networks:
traefik:
external: true
services:
static:
image: git.pim.kunis.nl/pim/concourse-test:latest
networks:
- traefik
deploy:
placement:
constraints:
- "node.labels.public == true"
labels:
- traefik.enable=true
- traefik.http.routers.static.entrypoints=websecure
- traefik.http.services.static.loadbalancer.server.port=80
- traefik.http.routers.static.rule=Host(`pim.kunis.nl`)
- traefik.http.routers.static.tls=true
- traefik.http.routers.static.tls.certresolver=letsencrypt