forked from commerceblock/mercurylayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-sim-prd.yml
53 lines (52 loc) · 1.24 KB
/
docker-compose-sim-prd.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
version: '3.8'
services:
enclave-sgx:
build:
context: enclave
dockerfile: Dockerfiles/SIM/Dockerfile
environment:
- ENCLAVE_DATABASE_URL=postgres://mercurylayer:<PASSWORD>@<DB_HOST>:5432/enclave
- ENCLAVE_PORT=18080
- SEED_DIR=./seed
mercury-server:
build:
context: .
dockerfile: server/Dockerfile
environment:
- LOCKBOX_URL=http://enclave-sgx:18080
- BITCOIN_NETWORK=testnet
- LOCKHEIGHT_INIT=1000
- LH_DECREMENT=10
- DB_USER=mercurylayer
- DB_PASSWORD=<CHANGEME>
- DB_HOST=<CHANGEME>
- DB_PORT=5432
- DB_NAME=mercury
ports:
- "8000:8000"
token-server:
build:
context: token-server
dockerfile: Dockerfile
environment:
- PROCESSOR_URL = ""
- API_KEY = ""
- FEE = 10000
- UNIT = "BTC"
- DELAY = 3600
- DB_USER = "mercurylayer"
- DB_PASSWORD = "<CHANGEME>"
- DB_HOST = "<CHANGEME>"
- DB_PORT = 5432
- DB_NAME = "mercury"
- BITCOIND = "http://user:[email protected]:8332/"
- LIGHTNINGD = ""
- LNMACAROON = ""
ports:
- "18080:18080"
explorer:
build:
context: explorer
dockerfile: Dockerfile
ports:
- "80:80"