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:
app:
@ -18,17 +18,40 @@ services:
- 'traefik.http.services.vieter.loadbalancer.server.port=8000'
environment:
- 'API_KEY'
- 'LOG_LEVEL=DEBUG'
- 'VIETER_API_KEY_FILE=/run/secrets/vieter_api_key'
- 'VIETER_LOG_LEVEL=DEBUG'
networks:
- 'public'
secrets:
- vieter_api_key
volumes:
- '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:
public:
external: true
secrets:
vieter_api_key:
external: true
volumes:
data: