-
Notifications
You must be signed in to change notification settings - Fork 35
/
docker-compose.yml
39 lines (36 loc) · 1022 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
37
38
39
version: '3'
services:
blockchain:
build: .
command: ./docker-run.sh
volumes:
- ./backup:/backup
- ./docker-run.sh:/home/tendermint/docker-run.sh
ports:
- 26657:26657
- 26658:26658
- 1317:1317
- 9090:9090
- 9091:9091
- 4500:4500
goat:
build: ./goat/
ports:
- 31337:31337
herd:
image: nginx:latest
container_name: herd
volumes:
- /etc/letsencrypt/live/cardchain.crowdcontrol.network/fullchain.pem:/etc/letsencrypt/live/cardchain.crowdcontrol.network/fullchain.pem
- /etc/letsencrypt/live/cardchain.crowdcontrol.network/privkey.pem:/etc/letsencrypt/live/cardchain.crowdcontrol.network/privkey.pem
- ./config/nginx.conf:/etc/nginx/conf.d/default.conf
- /etc/nginx/ssl/dhparam-4096.pem:/etc/nginx/ssl/dhparam-4096.pem
- ./files/:/files/
ports:
- 80:80
- 81:81
- 443:443
command: /bin/bash -c "exec nginx -g 'daemon off;'"
depends_on:
- blockchain
- goat