forked from DecentralCardGame/Cardchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
33 lines (30 loc) · 952 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
version: '3'
services:
blockchain:
build: .
command: ./docker-run.sh
volumes:
- /home/wieth:/home/tendermint/
ports:
- 26657:26657
- 26658:26658
- 1317:1317
- 9090:9090
- 4500:4500
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
ports:
- 80:80
- 81:81
- 443:443
command: /bin/bash -c "exec nginx -g 'daemon off;'"
depends_on:
- blockchain
volumes:
database-data: # named volumes can be managed easier using docker-compose