File tree 4 files changed +13
-7
lines changed
pragma-entities/migrations/2023-12-29-052754_add_hypertable_entries
4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ services:
30
30
# condition: service_healthy
31
31
pragma-node :
32
32
container_name : " pragma-node"
33
+ environment :
34
+ - DATABASE_MAX_CONN=5
35
+ - TOPIC=pragma-data
36
+ - KAFKA_BROKERS=pragma-kafka:9092
33
37
depends_on :
34
38
pragma-kafka :
35
39
condition : service_healthy
@@ -119,6 +123,12 @@ services:
119
123
120
124
pragma-ingestor-1 :
121
125
container_name : " pragma-ingestor-1"
126
+ environment :
127
+ - DATABASE_URL=postgres://postgres:test-password@db:5432/pragma
128
+ - DATABASE_MAX_CONN=5
129
+ - BROKERS=pragma-kafka:9092
130
+ - TOPIC=pragma-data
131
+ - GROUP_ID=pragma-data
122
132
depends_on :
123
133
pragma-kafka :
124
134
condition : service_healthy
@@ -129,10 +139,6 @@ services:
129
139
- pragma-db-network
130
140
build :
131
141
dockerfile : infra/pragma-ingestor/Dockerfile
132
- environment :
133
- BROKERS : pragma-kafka:9092
134
- TOPIC : pragma-data
135
- GROUP_ID : pragma-data
136
142
137
143
networks :
138
144
pragma-db-network :
Original file line number Diff line number Diff line change 1
1
-- This file should undo anything in `up.sql`
2
- SELECT detach_table(' entries' );
2
+ SELECT detach_table(' entries' );
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ envy = "0.4.2"
11
11
lazy_static = " 1.4.0"
12
12
pragma-common = { path = " ../pragma-common" , version = " 1.0.0" }
13
13
pragma-entities = { path = " ../pragma-entities" , version = " 1.0.0" }
14
- rdkafka = " 0.35 .0"
14
+ rdkafka = " 0.36 .0"
15
15
serde = " 1.0.193"
16
16
serde_json = " 1.0.108"
17
17
thiserror = " 1.0.50"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ envy = "0.4.2"
21
21
lazy_static = " 1.4.0"
22
22
pragma-common = { path = " ../pragma-common" , version = " 1.0.0" }
23
23
pragma-entities = { path = " ../pragma-entities" , version = " 1.0.0" }
24
- rdkafka = " 0.35 .0"
24
+ rdkafka = " 0.36 .0"
25
25
serde = { version = " 1.0" , features = [" derive" ] }
26
26
serde_json = { version = " 1.0" , features = [" arbitrary_precision" ] }
27
27
starknet = " 0.6.0"
You can’t perform that action at this time.
0 commit comments