24 lines
613 B
Text
24 lines
613 B
Text
|
# 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
|