Add a stack for running uniswap frontend on urbit #670

Merged
nikugogoi merged 25 commits from ng-uniswap-frontend into main 2023-12-04 13:09:20 +00:00
3 changed files with 6 additions and 6 deletions
Showing only changes of commit 4736a81e96 - Show all commits

View File

@ -30,7 +30,7 @@ services:
timeout: 5s
retries: 15
start_period: 10s
uniswap-gql-proxy:
image: cerc/uniswap-interface:local
restart: on-failure
@ -43,7 +43,6 @@ services:
timeout: 5s
retries: 15
start_period: 10s
volumes:
app_builds:

View File

@ -40,11 +40,11 @@ Edit `network` in spec file to map container ports to same ports in host
network:
ports:
urbit-fake-ship:
- 8080:80
- '8080:80'
uniswap-glob-host:
- 3000:3000
- '3000:3000'
uniswap-gql-proxy:
- 4000:4000
- '4000:4000'
...
```
@ -72,6 +72,7 @@ Inside the deployment directory, open the file `config.env` and add variable for
# Uniswap API GQL Endpoint
# Set this to GQL proxy server endpoint for uniswap app
# (Eg. http://localhost:4000/graphql)
CERC_UNISWAP_GQL=
```

View File

@ -1,7 +1,7 @@
version: "0.1"
name: uniswap-urbit-app
repos:
- github.com/cerc-io/uniswap-interface@ng-gql-proxy # TODO: Use release
- github.com/cerc-io/uniswap-interface@laconic # TODO: Use release
containers:
- cerc/uniswap-interface
- cerc/urbit-globs-host