cartesi-p2p-wallet/Deployment Module/erc20/docker-compose.override.yml
2024-07-09 00:06:31 +03:00

52 lines
1.0 KiB
YAML

version: "3"
services:
server_manager:
image: ${DAPP_IMAGE:-cartesi/dapp:erc20-devel-server}
common-contracts:
build: ./common-contracts
network_mode: host
depends_on:
hardhat:
condition: service_healthy
command:
[
"deploy",
"--reset",
"--network",
"localhost",
"--export",
"/deployments/localhost/localhost.json"
]
init: true
healthcheck:
test:
[
"CMD",
"test",
"-f",
"/deployments/localhost/localhost.json"
]
interval: 30s
timeout: 30s
retries: 5
volumes:
- ./common-contracts/deployments:/app/deployments
dispatcher:
depends_on:
common-contracts:
condition: service_completed_successfully
state_server:
depends_on:
common-contracts:
condition: service_completed_successfully
deployer:
depends_on:
common-contracts:
condition: service_completed_successfully