This repository has been archived on 2024-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
static/docker-stack.yml.template
Pim Kunis 94f104bece read ssh config from file
deploy through docker stack
2023-05-20 16:31:55 +02:00

23 lines
610 B
YAML

# vi: ft=yaml
version: '3'
networks:
traefik:
external: true
services:
static:
image: git.pim.kunis.nl/pim/concourse-test:TAG
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