Updated vieter stack to new version

master
Jef Roosens 2022-02-22 08:27:00 +01:00
parent 0e26ffc33c
commit 86ad71b278
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 27 additions and 4 deletions

View File

@ -1,4 +1,4 @@
version: '3' version: '3.4'
services: services:
app: app:
@ -18,17 +18,40 @@ services:
- 'traefik.http.services.vieter.loadbalancer.server.port=8000' - 'traefik.http.services.vieter.loadbalancer.server.port=8000'
environment: environment:
- 'API_KEY' - 'VIETER_API_KEY_FILE=/run/secrets/vieter_api_key'
- 'LOG_LEVEL=DEBUG' - 'VIETER_LOG_LEVEL=DEBUG'
networks: networks:
- 'public' - 'public'
secrets:
- vieter_api_key
volumes: volumes:
- 'data:/data' - 'data:/data'
cron:
image: 'chewingbever/vieter:dev'
command: crond -f
deploy:
mode: 'replicated'
replicas: 1
placement:
constraints:
- 'node.labels.class==admin'
environment:
- 'VIETER_API_KEY_FILE=/run/secrets/vieter_api_key'
- 'VIETER_LOG_LEVEL=DEBUG'
- 'VIETER_ADDRESS=https://arch.r8r.be'
secrets:
- vieter_api_key
networks: networks:
public: public:
external: true external: true
secrets:
vieter_api_key:
external: true
volumes: volumes:
data: data: