-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (34 loc) · 990 Bytes
/
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
version: "3.8"
services:
indy-node:
image: ${IMAGE}
container_name: ${NODE_CONTAINER_NAME}
ports:
- "${INDY_NODE_PORT}:${INDY_NODE_PORT}"
- "${INDY_CLIENT_PORT}:${INDY_CLIENT_PORT}"
volumes:
- ./etc_indy:/etc/indy
- ./lib_indy:/var/lib/indy
- ./log_indy:/var/log/indy
environment:
- INDY_NODE_IP=${INDY_NODE_IP}
- INDY_NODE_PORT=${INDY_NODE_PORT}
- INDY_CLIENT_IP=${INDY_CLIENT_IP}
- INDY_CLIENT_PORT=${INDY_CLIENT_PORT}
- INDY_NETWORK_NAME=${INDY_NETWORK_NAME}
- INDY_NODE_NAME=${INDY_NODE_NAME}
env_file:
- .node.env
restart: always
indy-controller:
image: ${IMAGE_NAME_CONTROLLER}
init: true
container_name: indy_node_controller
environment:
- CONTAINER=${NODE_CONTAINER_NAME}
- INDY_NETWORK_NAME=${INDY_NETWORK_NAME}
volumes:
- ./etc_indy:/etc/indy
- ${SOCK}:/var/run/docker.sock
restart: always
network_mode: "service:indy-node"