-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.reflex
More file actions
37 lines (34 loc) · 1.76 KB
/
.reflex
File metadata and controls
37 lines (34 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
-r "^$" -s -R "devel/.*" -- sh -c \
'echo "Starting Docker Compose (PostgreSQL, Redis, pgweb)..." && \
docker compose up -d && \
sleep 3 && \
echo "Applying database migrations..." && \
(echo "y" | ./devel/migrate.sh up || echo "Migrations already up to date") && \
echo "" && \
echo "Starting Devenv..." && \
DLOG="${DLOG:-warn}" ./devel/sds devenv'
-r "\.(go|sql)$" -s -R "devel/.*" -- sh -c \
'echo "Starting Consumer Sidecar ..." && \
DLOG=".*=debug" ./devel/sds consumer sidecar \
--grpc-listen-addr=:9002 \
--plaintext \
--signer-private-key=0xe4c2694501255921b6588519cfd36d4e86ddc4ce19ab1bc91d9c58057c040304 \
--collector-address=0x1d01649b4f94722b55b5c3b3e10fe26cd90c1ba9'
-r "\.(go|sql)$" -s -R "devel/.*" -- sh -c \
'echo "Starting Provider Gateway (with PostgreSQL)..." && \
head -c 8 /dev/urandom | xxd -p -c 16 > ./devel/.provider-gateway && \
DLOG=".*=debug" ./devel/sds provider gateway \
--repository-dsn="psql://dev-node:changeme@localhost:5432/dev-node?sslmode=disable" \
--grpc-listen-addr=:9001 \
--plaintext \
--service-provider=0xa6f1845e54b1d6a95319251f1ca775b4ad406cdf \
--collector-address=0x1d01649b4f94722b55b5c3b3e10fe26cd90c1ba9 \
--escrow-address=0xfc7487a37ca8eac2e64cba61277aa109e9b8631e \
--rpc-endpoint=http://localhost:58545'
-r "devel/(\.provider-gateway|firecore\.config\.yaml)$" -s -R "devel/.firehose" -- sh -c \
'echo "Restarting firehose-core instance..." && \
rm -rf ./devel/.firehose && \
echo "Starting Firehose Core" && \
echo " Substreams: sds sink -e https://localhost:10016 --insecure" && \
echo "" && \
DLOG="${DLOG:-error}" firecore -c devel/firecore.config.yaml -d ./devel/.firehose start'