28 lines
633 B
YAML
28 lines
633 B
YAML
|
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'
|
||
|
- 'traefik.http.routers.lander.rule=Host(`s.r8r.be`)'
|
||
|
- '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'
|
||
|
networks:
|
||
|
- 'public'
|
||
|
|
||
|
networks:
|
||
|
public:
|
||
|
external: true
|