deployment/stacks/vieter.yml

35 lines
689 B
YAML
Raw Normal View History

2022-02-01 22:29:11 +01:00
version: '3'
services:
app:
image: 'chewingbever/vieter:dev'
deploy:
mode: 'replicated'
replicas: 1
placement:
constraints:
- 'node.labels.class==admin'
labels:
- 'traefik.enable=true'
2022-02-01 22:33:01 +01:00
- 'traefik.http.routers.vieter.rule=Host(`arch.r8r.be`)'
- 'traefik.http.routers.vieter.tls=true'
- 'traefik.http.routers.vieter.tls.certresolver=letsEncrypt'
- 'traefik.http.services.vieter.loadbalancer.server.port=8000'
2022-02-01 22:29:11 +01:00
environment:
- 'API_KEY'
2022-02-01 22:39:12 +01:00
- 'LOG_LEVEL=DEBUG'
2022-02-01 22:29:11 +01:00
networks:
- 'public'
volumes:
- 'data:/data'
networks:
public:
external: true
volumes:
data: