Skip to content

Commit

Permalink
Merge pull request #110 from commerceblock/feat/add-production-sim-yml
Browse files Browse the repository at this point in the history
feat/production sim
  • Loading branch information
rajkadir authored Dec 4, 2024
2 parents b3a687a + 761b2bd commit 5323545
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions docker-compose-sim-prd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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"

0 comments on commit 5323545

Please sign in to comment.