-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose-ci.yml
42 lines (40 loc) · 1.3 KB
/
docker-compose-ci.yml
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
38
39
40
41
42
version: "3"
# runs the entire rudder pipeline with all supporting services (including rudder) in docker
# set .env such that all services in docker are talking to each other only
services:
ewm-das:
image: "us-docker.pkg.dev/covalent-project/network/ewm-das:latest"
volumes:
- ~/.ipfs:/root/.ipfs/
container_name: ewm-das
restart: on-failure
entrypoint: |
/bin/bash -l -c "
touch proof_out_hex.txt;
chmod +x proof_out_hex.txt;
echo "$PROOF_OUT_HEX" > proof_out_hex.txt;
xxd -r -p proof_out_hex.txt > proof_from_hex.out;
chmod +x proof_from_hex.out;
mv ./proof_from_hex.out /root/.ipfs/proof_from_hex.out;
./usr/local/bin/pinner --log-level debug --addr :5080 --w3-agent-key $W3_AGENT_KEY --w3-delegation-proof-path $W3_DELEGATION_FILE;"
expose:
- "4001:4001"
- "5080:5080"
environment:
- W3_AGENT_KEY=${W3_AGENT_KEY}
- W3_DELEGATION_FILE=${W3_DELEGATION_FILE}
- PROOF_OUT_HEX=${PROOF_OUT_HEX}
networks:
- cxt-net
ports:
- "4001:4001"
- "5080:5080"
ewm-das-tester:
image: "us-docker.pkg.dev/covalent-project/network/ewm-das:latest"
depends_on:
- ewm-das
entrypoint: /root/.covalent/test/das-pinner-tester.sh
networks:
- cxt-net
networks:
cxt-net: