deployment/stacks/lander.yml

34 lines
745 B
YAML
Raw Normal View History

2022-11-15 21:36:48 +01:00
version: '3.4'
services:
app:
image: 'git.rustybever.be/chewing_bever/lander:latest'
deploy:
mode: 'replicated'
replicas: 1
placement:
constraints:
- 'node.labels.class.lander==true'
labels:
- 'traefik.enable=true'
2022-11-21 12:04:31 +01:00
- 'traefik.http.routers.lander.rule=Host(`r8r.be`) || Host(`s.r8r.be`)'
2022-11-15 21:36:48 +01:00
- 'traefik.http.routers.lander.tls=true'
- 'traefik.http.routers.lander.tls.certresolver=letsEncrypt'
- 'traefik.http.services.lander.loadbalancer.server.port=18080'
environment:
- 'LANDER_API_KEY'
2022-11-21 12:04:31 +01:00
- 'LANDER_BASE_URL=https://r8r.be/'
2022-11-15 21:36:48 +01:00
networks:
- 'public'
2022-11-15 22:51:00 +01:00
volumes:
- 'data:/data'
2022-11-15 21:36:48 +01:00
networks:
public:
external: true
2022-11-15 22:51:00 +01:00
volumes:
data: