f27da19808
* Use IPFS for hosting glob files for Urbit * Add env configuration for IPFS endpoints to instructions * Make ship pier dir configurable in remote deployment script * Update remote deployment script to accept glob hash arg
31 lines
719 B
YAML
31 lines
719 B
YAML
version: "3.2"
|
|
|
|
services:
|
|
uniswap-interface:
|
|
image: cerc/uniswap-interface:local
|
|
restart: on-failure
|
|
environment:
|
|
- REACT_APP_INFURA_KEY=${CERC_INFURA_KEY}
|
|
- REACT_APP_AWS_API_ENDPOINT=${CERC_UNISWAP_GQL}
|
|
command: ["./build-app.sh"]
|
|
volumes:
|
|
- app_builds:/app-builds
|
|
- ../config/uniswap-interface/build-app.sh:/app/build-app.sh
|
|
|
|
uniswap-gql-proxy:
|
|
image: cerc/uniswap-interface:local
|
|
restart: on-failure
|
|
command: ["bash", "-c", "yarn proxy-gql"]
|
|
ports:
|
|
- "4000"
|
|
healthcheck:
|
|
test: ["CMD", "nc", "-v", "localhost", "4000"]
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 15
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
app_builds:
|
|
app_globs:
|