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:
parent
41d0cacd80
commit
1b7e1e9c3f
2 changed files with 8 additions and 6 deletions
|
@ -73,3 +73,5 @@ REDIS_PORT=6379
|
||||||
REDIS_URL="redis://${REDIS_HOST}:${REDIS_PORT}?dial_timeout=3&read_timeout=6s"
|
REDIS_URL="redis://${REDIS_HOST}:${REDIS_PORT}?dial_timeout=3&read_timeout=6s"
|
||||||
|
|
||||||
STORAGE_DIR="./storage"
|
STORAGE_DIR="./storage"
|
||||||
|
|
||||||
|
ANY_SYNC_DAEMONS_MEMORY_LIMIT=500M
|
||||||
|
|
|
@ -117,7 +117,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 500M
|
memory: ${ANY_SYNC_DAEMONS_MEMORY_LIMIT:-}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
any-sync-filenode:
|
any-sync-filenode:
|
||||||
|
@ -140,7 +140,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 500M
|
memory: ${ANY_SYNC_DAEMONS_MEMORY_LIMIT:-}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
any-sync-node-1:
|
any-sync-node-1:
|
||||||
|
@ -160,7 +160,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 500M
|
memory: ${ANY_SYNC_DAEMONS_MEMORY_LIMIT:-}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
any-sync-node-2:
|
any-sync-node-2:
|
||||||
|
@ -180,7 +180,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 500M
|
memory: ${ANY_SYNC_DAEMONS_MEMORY_LIMIT:-}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
any-sync-node-3:
|
any-sync-node-3:
|
||||||
|
@ -200,7 +200,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 500M
|
memory: ${ANY_SYNC_DAEMONS_MEMORY_LIMIT:-}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
any-sync-consensusnode:
|
any-sync-consensusnode:
|
||||||
|
@ -218,7 +218,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 500M
|
memory: ${ANY_SYNC_DAEMONS_MEMORY_LIMIT:-}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# any-sync-netcheck
|
# any-sync-netcheck
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue