Update uniswap build restart on failure

This commit is contained in:
Nabarun 2023-11-30 12:39:39 +05:30
parent b8d63fc4a4
commit 3a65794f93
2 changed files with 12 additions and 2 deletions

View File

@ -3,7 +3,7 @@ version: "3.2"
services: services:
uniswap-interface: uniswap-interface:
image: cerc/uniswap-interface:local image: cerc/uniswap-interface:local
restart: unless-stopped restart: on-failure
environment: environment:
- REACT_APP_INFURA_KEY=${CERC_INFURA_KEY} - REACT_APP_INFURA_KEY=${CERC_INFURA_KEY}
command: ["./build-app.sh"] command: ["./build-app.sh"]

View File

@ -35,7 +35,17 @@ laconic-so --stack uniswap-urbit-app deploy init --output uniswap-urbit-app-spec
Edit `network` in spec file to map container ports to same ports in host Edit `network` in spec file to map container ports to same ports in host
<!-- TODO: Provide example --> ```
...
network:
ports:
uniswap-interface:
- 3000:3000
urbit-fake-ship:
- 8080:80
- 12321:12321
...
```
### Data volumes ### Data volumes
Container data volumes are bind-mounted to specified paths in the host filesystem. Container data volumes are bind-mounted to specified paths in the host filesystem.