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'
|
- '/opt/run_bootstrap.sh'
|
||||||
volumes:
|
volumes:
|
||||||
- ./run_bootstrap.sh:/opt/run_bootstrap.sh:Z
|
- ./run_bootstrap.sh:/opt/run_bootstrap.sh:Z
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '1'
|
||||||
|
memory: 2048M
|
||||||
networks:
|
networks:
|
||||||
- simulation
|
- simulation
|
||||||
|
|
||||||
@ -69,6 +74,11 @@ services:
|
|||||||
entrypoint: sh
|
entrypoint: sh
|
||||||
command:
|
command:
|
||||||
- /opt/run_nwaku_store_sqlite.sh
|
- /opt/run_nwaku_store_sqlite.sh
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '1'
|
||||||
|
memory: 2048M
|
||||||
networks:
|
networks:
|
||||||
- simulation
|
- simulation
|
||||||
|
|
||||||
@ -90,6 +100,11 @@ services:
|
|||||||
- /opt/run_nwaku_store_postgres_ubuntu.sh
|
- /opt/run_nwaku_store_postgres_ubuntu.sh
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '1'
|
||||||
|
memory: 2048M
|
||||||
networks:
|
networks:
|
||||||
- simulation
|
- simulation
|
||||||
|
|
||||||
@ -177,6 +192,11 @@ services:
|
|||||||
timeout: 60s
|
timeout: 60s
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: 80s
|
start_period: 80s
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '1'
|
||||||
|
memory: 2048M
|
||||||
networks:
|
networks:
|
||||||
- simulation
|
- simulation
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user