-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (45 loc) · 1.19 KB
/
docker-compose.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
43
44
45
46
47
48
version: "3.9"
services:
cardano-node:
image: ghcr.io/input-output-hk/cardano-node:8.7.3
restart: always
logging:
driver: "journald"
volumes:
- ./easy-rider/config:/config:ro
- ./db/db:/db
working_dir: /data
environment:
- CARDANO_SOCKET_PATH=/db/node.socket # used by cardano-node
- CARDANO_NODE_SOCKET_PATH=/db/node.socket # used by cardano-cli
command:
[ "run"
, "--config", "/config/cardano-configurations/network/preprod/cardano-node/config.json"
, "--topology", "/config/cardano-configurations/network/preprod/cardano-node/topology.json"
, "--database-path", "/db"
]
easy-rider:
image: easy-rider:latest
restart: always
logging:
driver: "journald"
volumes:
- ./easy-rider/config:/config:ro
- ./db:/db
depends_on:
cardano-node:
condition: service_completed_successfully
command:
[ "run-node" , "--testnet-magic", "2"
]
networks:
easy_rider:
ipv4_address: 172.15.238.20
networks:
easy_rider:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.15.238.0/24
gateway: 172.15.238.1