-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (40 loc) · 1.08 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
version: '3.1'
services:
cardano-node:
image: ghcr.io/intersectmbo/cardano-node:10.1.1
container_name: cardano-node
volumes:
- ./cardano-node-ipc:/ipc
- ./cardano-node-data:/data
- ./configuration:/configuration
- ./cardano-wallet:/cardano-wallet
environment:
- TZ=Asia/Ho_Chi_Minh
- CARDANO_NODE_SOCKET_PATH=/ipc/node.socket
- CARDANO_CLI=/cardano-wallet/cardano-cli
- DOCKER_CLIENT_TIMEOUT=120
- COMPOSE_HTTP_TIMEOUT=120
#- NETWORK=--testnet-magic 1
- NETWORK=preprod
- NET="--testnet-magic 1"
- HOST-ADDR="0.0.0.0"
#ports:
# - "3001:3001"
restart: unless-stopped
networks:
- cardano-node-net
#socat-cardano-node:
# image: alpine/socat
# container_name: socat-cardano-node
# volumes:
# - ./cardano-node-ipc:/ipc
# command: "TCP-LISTEN:3001,fork,reuseaddr, UNIX-CONNECT:/ipc/node.socket"
# ports:
# - "3001:3001"
# restart: unless-stopped
# networks:
# - cardano-node-net
networks:
cardano-node-net:
name: cardano-node-net
driver: bridge