0
1
Fork 0

docker deploy constraint worker

This commit is contained in:
Juan Ferrer 2021-04-30 00:13:18 +02:00
parent 1530b571c0
commit a014a40a12
3 changed files with 8 additions and 4 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.407.50) stable; urgency=low
hedera-web (1.407.51) stable; urgency=low
* Initial Release.

View File

@ -17,7 +17,9 @@ services:
- /mnt/storage/image:/var/lib/hedera-web/image-db
- /mnt/storage/vn-access:/var/lib/hedera-web/vn-access
deploy:
replicas: 3
placement:
constraints:
- node.role == worker
cron:
image: registry.verdnatura.es/hedera-web
command: 'cron -f'
@ -28,7 +30,9 @@ services:
- /mnt/storage:/mnt/storage
- /mnt/storage/image:/var/lib/hedera-web/image-db
deploy:
replicas: 1
placement:
constraints:
- node.role == worker
configs:
config:
external: true

View File

@ -1,6 +1,6 @@
{
"name": "hedera-web",
"version": "1.407.50",
"version": "1.407.51",
"description": "Verdnatura web page",
"license": "GPL-3.0",
"repository": {