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