diff --git a/docker-compose-sim-prd.yml b/docker-compose-sim-prd.yml new file mode 100644 index 00000000..9034188f --- /dev/null +++ b/docker-compose-sim-prd.yml @@ -0,0 +1,53 @@ +version: '3.8' + +services: + enclave-sgx: + build: + context: enclave + dockerfile: Dockerfiles/SIM/Dockerfile + environment: + - ENCLAVE_DATABASE_URL=postgres://mercurylayer:@: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= + - DB_HOST= + - 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 = "" + - DB_HOST = "" + - DB_PORT = 5432 + - DB_NAME = "mercury" + - BITCOIND = "http://user:password@127.0.0.1:8332/" + - LIGHTNINGD = "" + - LNMACAROON = "" + ports: + - "18080:18080" + explorer: + build: + context: explorer + dockerfile: Dockerfile + ports: + - "80:80"