mirror of
https://github.com/logos-messaging/logos-messaging-test-query.git
synced 2026-01-02 14:03:10 +00:00
docker-compose-manual-binaries: limit for more realistic container
The CPU and memory limits are set as per the dimension of the machine used in wakuv2.prod.
This commit is contained in:
parent
a3ea38b0eb
commit
ca409b4966
@ -51,6 +51,11 @@ services:
|
||||
- '/opt/run_bootstrap.sh'
|
||||
volumes:
|
||||
- ./run_bootstrap.sh:/opt/run_bootstrap.sh:Z
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1'
|
||||
memory: 2048M
|
||||
networks:
|
||||
- simulation
|
||||
|
||||
@ -69,6 +74,11 @@ services:
|
||||
entrypoint: sh
|
||||
command:
|
||||
- /opt/run_nwaku_store_sqlite.sh
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1'
|
||||
memory: 2048M
|
||||
networks:
|
||||
- simulation
|
||||
|
||||
@ -90,6 +100,11 @@ services:
|
||||
- /opt/run_nwaku_store_postgres_ubuntu.sh
|
||||
depends_on:
|
||||
- postgres
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1'
|
||||
memory: 2048M
|
||||
networks:
|
||||
- simulation
|
||||
|
||||
@ -177,6 +192,11 @@ services:
|
||||
timeout: 60s
|
||||
retries: 5
|
||||
start_period: 80s
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1'
|
||||
memory: 2048M
|
||||
networks:
|
||||
- simulation
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user