File tree Expand file tree Collapse file tree
apps/cli/src/compose/rollups Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11services :
2- database_creator :
3- image : postgres:16
4- command : ["createdb", "squid"]
5- depends_on :
6- database :
7- condition : service_healthy
8- environment :
9- PGHOST : ${PGHOST:-database}
10- PGPORT : ${PGPORT:-5432}
11- PGUSER : ${PGUSER:-postgres}
12- PGPASSWORD : ${PGPASSWORD:-password}
13- PGDATABASE : ${PGDATABASE:-postgres}
14-
152 explorer_api :
163 image : cartesi/rollups-explorer-api:0.5.0
174 environment :
@@ -37,8 +24,8 @@ services:
3724 timeout : 1s
3825 retries : 5
3926 depends_on :
40- database_creator :
41- condition : service_completed_successfully
27+ database :
28+ condition : service_healthy
4229
4330 squid_processor :
4431 image : cartesi/rollups-explorer-api:0.5.0
@@ -52,16 +39,16 @@ services:
5239 DB_PASS : ${PGPASSWORD:-password}
5340 command : ["sqd", "process:prod"]
5441 depends_on :
55- database_creator :
56- condition : service_completed_successfully
42+ database :
43+ condition : service_healthy
5744
5845 explorer :
5946 image : cartesi/rollups-explorer:0.12.0
6047 expose :
6148 - 3000
6249 depends_on :
63- database_creator :
64- condition : service_completed_successfully
50+ database :
51+ condition : service_healthy
6552
6653 proxy :
6754 volumes :
You can’t perform that action at this time.
0 commit comments