forked from PeerAssets/papi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (55 loc) · 1.17 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '3.5'
services:
peercoind:
build: ./peercoind
restart: always
ports:
- "19904:19904"
environment:
- RPC_USER=papi
- RPC_PASSWORD=papipass
volumes:
- type: bind
source: /opt/papi/peercoin/
target: /data
command:
-testnet
-nominting
-rpcallowip=*
-rpcport=19904
-walletnotify='/usr/local/bin/transaction.sh %s'
postgres:
image: sameersbn/postgresql:9.6-2
environment:
- DB_USER=docker
- DB_PASS=papipass
- DB_NAME=papi
- DB_TEMPLATE=
- DB_EXTENSION=
- REPLICATION_MODE=
- REPLICATION_USER=
- REPLICATION_PASS=
- REPLICATION_SSLMODE=
ports:
- "5432"
volumes:
- /opt/papi/db:/var/lib/postgresql
restart: always
papi:
restart: always
build: .
ports:
- "5555:5555"
depends_on:
- peercoind
- postgres
environment:
- PA_TESTNET=true
- PA_PRODUCTION=true
- AUTOLOAD=true
- PA_VERSION=1
- RPC_HOST=peercoind
- RPC_PORT=19904
- RPC_USERNAME=papi
- RPC_PASSWORD=papipass
- DB=postgresql://docker:papipass@postgres:5432/papi