From 3a65794f93b0373beba54c7c9d2afc65569acb9d Mon Sep 17 00:00:00 2001 From: Nabarun Date: Thu, 30 Nov 2023 12:39:39 +0530 Subject: [PATCH] Update uniswap build restart on failure --- .../compose/docker-compose-uniswap-interface.yml | 2 +- .../data/stacks/uniswap-urbit-app/README.md | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/stack_orchestrator/data/compose/docker-compose-uniswap-interface.yml b/stack_orchestrator/data/compose/docker-compose-uniswap-interface.yml index 9bf7888d..429cf40c 100644 --- a/stack_orchestrator/data/compose/docker-compose-uniswap-interface.yml +++ b/stack_orchestrator/data/compose/docker-compose-uniswap-interface.yml @@ -3,7 +3,7 @@ version: "3.2" services: uniswap-interface: image: cerc/uniswap-interface:local - restart: unless-stopped + restart: on-failure environment: - REACT_APP_INFURA_KEY=${CERC_INFURA_KEY} command: ["./build-app.sh"] diff --git a/stack_orchestrator/data/stacks/uniswap-urbit-app/README.md b/stack_orchestrator/data/stacks/uniswap-urbit-app/README.md index 504f5766..2a813741 100644 --- a/stack_orchestrator/data/stacks/uniswap-urbit-app/README.md +++ b/stack_orchestrator/data/stacks/uniswap-urbit-app/README.md @@ -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 - +``` +... +network: + ports: + uniswap-interface: + - 3000:3000 + urbit-fake-ship: + - 8080:80 + - 12321:12321 +... +``` ### Data volumes Container data volumes are bind-mounted to specified paths in the host filesystem.