forked from verdnatura/hedera-web
docker deploy constraint worker
This commit is contained in:
parent
1530b571c0
commit
a014a40a12
|
@ -1,4 +1,4 @@
|
||||||
hedera-web (1.407.50) stable; urgency=low
|
hedera-web (1.407.51) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,9 @@ services:
|
||||||
- /mnt/storage/image:/var/lib/hedera-web/image-db
|
- /mnt/storage/image:/var/lib/hedera-web/image-db
|
||||||
- /mnt/storage/vn-access:/var/lib/hedera-web/vn-access
|
- /mnt/storage/vn-access:/var/lib/hedera-web/vn-access
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 3
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.role == worker
|
||||||
cron:
|
cron:
|
||||||
image: registry.verdnatura.es/hedera-web
|
image: registry.verdnatura.es/hedera-web
|
||||||
command: 'cron -f'
|
command: 'cron -f'
|
||||||
|
@ -28,7 +30,9 @@ services:
|
||||||
- /mnt/storage:/mnt/storage
|
- /mnt/storage:/mnt/storage
|
||||||
- /mnt/storage/image:/var/lib/hedera-web/image-db
|
- /mnt/storage/image:/var/lib/hedera-web/image-db
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.role == worker
|
||||||
configs:
|
configs:
|
||||||
config:
|
config:
|
||||||
external: true
|
external: true
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hedera-web",
|
"name": "hedera-web",
|
||||||
"version": "1.407.50",
|
"version": "1.407.51",
|
||||||
"description": "Verdnatura web page",
|
"description": "Verdnatura web page",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Reference in New Issue