mirror of
https://gitlab.com/rusty-bever/deployment.git
synced 2026-06-15 01:36:16 +02:00
lander: added stack
This commit is contained in:
parent
5a125c0a2b
commit
8b35567476
1 changed files with 27 additions and 0 deletions
27
stacks/lander.yml
Normal file
27
stacks/lander.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue