Added vieter stack

master
Jef Roosens 2022-02-01 22:29:11 +01:00
parent 2c27e3acb9
commit 5512cb1f6f
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 33 additions and 0 deletions

33
stacks/vieter.yml 100644
View File

@ -0,0 +1,33 @@
version: '3'
services:
app:
image: 'chewingbever/vieter:dev'
deploy:
mode: 'replicated'
replicas: 1
placement:
constraints:
- 'node.labels.class==admin'
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.pieter.rule=Host(`arch.r8r.be`)'
- 'traefik.http.routers.pieter.tls=true'
- 'traefik.http.routers.pieter.tls.certresolver=letsEncrypt'
- 'traefik.http.services.pieter.loadbalancer.server.port=8000'
environment:
- 'API_KEY'
networks:
- 'public'
volumes:
- 'data:/data'
networks:
public:
external: true
volumes:
data: