Updated vieter stack to new version
parent
0e26ffc33c
commit
86ad71b278
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue