-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
50 lines (45 loc) · 1.17 KB
/
docker-compose.yaml
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
49
50
version: '2.1'
networks:
chainpoint-node:
driver: bridge
services:
postgres:
image: postgres:9.6.5-alpine
container_name: postgres-node
restart: always
networks:
- chainpoint-node
volumes:
- ./.data/postgresql:/var/lib/postgresql/data
environment:
POSTGRES_USER: chainpoint
POSTGRES_PASSWORD: chainpoint
redis:
image: redis:4.0.2-alpine
container_name: redis-node
restart: always
networks:
- chainpoint-node
volumes:
- ./.redis/redis.conf:/usr/local/etc/redis/redis.conf:ro
- ./.data/redis:/data
command:
- redis-server
- /usr/local/etc/redis/redis.conf
chainpoint-node:
image: quay.io/chainpoint/chainpoint-node:7081e9834d5933bd1caf799420e51268900a1c1a
container_name: chainpoint-node
restart: on-failure
volumes:
- ./ip-blacklist.txt:/home/node/app/ip-blacklist.txt:ro
ports:
- "80:8080"
networks:
- chainpoint-node
depends_on:
- redis
- postgres
environment:
NODE_TNT_ADDRESS: ${NODE_TNT_ADDRESS}
CHAINPOINT_NODE_PUBLIC_URI: "${CHAINPOINT_NODE_PUBLIC_URI:-http://0.0.0.0}"
#DEBUG: "sequelize*"