Skip to content

Commit

Permalink
chore: add a productionv ersion of the sim enclave
Browse files Browse the repository at this point in the history
  • Loading branch information
rk16449 committed Nov 26, 2024
1 parent 23c3be9 commit 41bb7ae
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions docker-compose-sim-prd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
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 = "http://0.0.0.0:18080"
- api_key = "aaaaa"
- fee = 10000
- unit = "BTC"
- delay = 3600
- DB_USER = "mercurylayer"
- DB_PASSWORD = "<CHANGEME>"
- DB_HOST = "<CHANGEME>"
- DB_PORT = 5432
- DB_NAME = "mercury"
ports:
- "18080:18080"
explorer:
build:
context: explorer
dockerfile: Dockerfile
ports:
- "80:80"

0 comments on commit 41bb7ae

Please sign in to comment.