mirror of
https://github.com/logos-messaging/logos-messaging-test-query.git
synced 2026-01-07 16:33:09 +00:00
Better depends_on in docker compose file
This commit is contained in:
parent
dd0b5d2beb
commit
b0dc598ffa
@ -76,6 +76,8 @@ services:
|
|||||||
entrypoint: sh
|
entrypoint: sh
|
||||||
command:
|
command:
|
||||||
- /opt/run_nwaku_store_sqlite.sh
|
- /opt/run_nwaku_store_sqlite.sh
|
||||||
|
depends_on:
|
||||||
|
- bootstrap
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -104,6 +106,7 @@ services:
|
|||||||
- /opt/run_nwaku_store_postgres_ubuntu.sh
|
- /opt/run_nwaku_store_postgres_ubuntu.sh
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
- bootstrap
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -128,7 +131,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- /opt/run_nwaku_store_postgres_ubuntu.sh
|
- /opt/run_nwaku_store_postgres_ubuntu.sh
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- bootstrap
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 10
|
replicas: 10
|
||||||
@ -166,6 +169,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
STORE_QUERIES_PER_SECOND: 1
|
STORE_QUERIES_PER_SECOND: 1
|
||||||
NUM_CONCURRENT_USERS: 1
|
NUM_CONCURRENT_USERS: 1
|
||||||
|
depends_on:
|
||||||
|
- nwaku-postgres
|
||||||
|
- nwaku-sqlite
|
||||||
networks:
|
networks:
|
||||||
- simulation
|
- simulation
|
||||||
|
|
||||||
@ -179,6 +185,7 @@ services:
|
|||||||
MSG_PER_SECOND: 10
|
MSG_PER_SECOND: 10
|
||||||
MSG_SIZE_KBYTES: 10
|
MSG_SIZE_KBYTES: 10
|
||||||
depends_on:
|
depends_on:
|
||||||
|
- bootstrap
|
||||||
- nwaku-postgres
|
- nwaku-postgres
|
||||||
- nwaku-sqlite
|
- nwaku-sqlite
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user