代码拉取完成,页面将自动刷新
version: '3.7'
services:
traefik:
image: traefik:v2.4
command:
- "--api.insecure=true"
- "--providers.docker=true"
- "--entrypoints.web.address=:80"
- "--entrypoints.ping.address=:8082"
- "--ping.entryPoint=ping"
ports:
- "19553:80"
- "19552:8080"
- "19551:8082"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
defi-blockchain:
image: defi/defichain:2.3.1
command: >
defid
-printtoconsole
-rpcallowip=0.0.0.0/0
-rpcbind=0.0.0.0
-rpcuser=playground
-rpcpassword=playground
-rpcworkqueue=512
-masternode_operator=mswsMVsyGMj1FzDMbbxw2QW3KvQAv2FKiy
-regtest=1
-jellyfish_regtest=1
-txnotokens=0
-logtimemicros
-txindex=1
-acindex=1
-amkheight=0
-bayfrontheight=1
-bayfrontgardensheight=2
-clarkequayheight=3
-dakotaheight=4
-dakotacrescentheight=5
-eunosheight=6
-eunospayaheight=7
-fortcanningheight=8
defi-playground:
image: ghcr.io/defich/playground:0.13.3
depends_on:
- defi-blockchain
ports:
- "3002:3000"
environment:
PLAYGROUND_DEFID_URL: http://playground:playground@defi-blockchain:19554
labels:
- "traefik.http.services.playground.loadbalancer.server.port=3000"
- "traefik.http.routers.playground.rule=PathPrefix(`/v0/playground/`)"
- "traefik.http.routers.playground.entrypoints=web"
defi-whale:
image: ghcr.io/defich/whale:0.18.2
depends_on:
- defi-blockchain
ports:
- "3001:3000"
environment:
WHALE_DEFID_URL: http://playground:playground@defi-blockchain:19554
WHALE_DATABASE_PROVIDER: level
WHALE_DATABASE_LEVEL_LOCATION: .level/index
WHALE_NETWORK: regtest
WHALE_VERSION: v0
labels:
- "traefik.http.services.whale.loadbalancer.server.port=3000"
- "traefik.http.routers.whale.rule=PathPrefix(`/v0/regtest/`)"
- "traefik.http.routers.whale.entrypoints=web"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。