1
0
Fork 0
mirror of https://github.com/anyproto/any-sync-dockercompose.git synced 2025-06-08 05:47:03 +09:00

.env.default added ANY_SYNC_DAEMONS_MEMORY_LIMIT

This commit is contained in:
Grigory Efimov 2024-10-15 13:39:46 -03:00
parent 41d0cacd80
commit 1b7e1e9c3f
No known key found for this signature in database
GPG key ID: 0A88C34DFA7FD939
2 changed files with 8 additions and 6 deletions

View file

@ -73,3 +73,5 @@ REDIS_PORT=6379
REDIS_URL="redis://${REDIS_HOST}:${REDIS_PORT}?dial_timeout=3&read_timeout=6s"
STORAGE_DIR="./storage"
ANY_SYNC_DAEMONS_MEMORY_LIMIT=500M

View file

@ -117,7 +117,7 @@ services:
deploy:
resources:
limits:
memory: 500M
memory: ${ANY_SYNC_DAEMONS_MEMORY_LIMIT:-}
restart: unless-stopped
any-sync-filenode:
@ -140,7 +140,7 @@ services:
deploy:
resources:
limits:
memory: 500M
memory: ${ANY_SYNC_DAEMONS_MEMORY_LIMIT:-}
restart: unless-stopped
any-sync-node-1:
@ -160,7 +160,7 @@ services:
deploy:
resources:
limits:
memory: 500M
memory: ${ANY_SYNC_DAEMONS_MEMORY_LIMIT:-}
restart: unless-stopped
any-sync-node-2:
@ -180,7 +180,7 @@ services:
deploy:
resources:
limits:
memory: 500M
memory: ${ANY_SYNC_DAEMONS_MEMORY_LIMIT:-}
restart: unless-stopped
any-sync-node-3:
@ -200,7 +200,7 @@ services:
deploy:
resources:
limits:
memory: 500M
memory: ${ANY_SYNC_DAEMONS_MEMORY_LIMIT:-}
restart: unless-stopped
any-sync-consensusnode:
@ -218,7 +218,7 @@ services:
deploy:
resources:
limits:
memory: 500M
memory: ${ANY_SYNC_DAEMONS_MEMORY_LIMIT:-}
restart: unless-stopped
# any-sync-netcheck