clarify uniswap urbit readme #766

Merged
zramsay merged 1 commits from zach/uniswap-fix into main 2024-02-24 00:15:57 +00:00

View File

@ -33,23 +33,29 @@ laconic-so --stack uniswap-urbit-app deploy init --output uniswap-urbit-app-spec
### Ports ### Ports
Edit `network` in spec file to map container ports to same ports in host: Edit `uniswap-urbit-app-spec.yml` such that it looks like:
```yml ```yml
... stack: uniswap-urbit-app
deploy-to: compose
network: network:
ports: ports:
urbit-fake-ship:
- '8080:80'
proxy-server: proxy-server:
- '4000:4000' - '4000:4000'
urbit-fake-ship:
- '8080:80'
ipfs: ipfs:
- '8081:8080' - '4001'
- '5001:5001' - '8081:8080'
... - 0.0.0.0:5001:5001
volumes:
urbit_app_builds: ./data/urbit_app_builds
urbit_data: ./data/urbit_data
ipfs-import: ./data/ipfs-import
ipfs-data: ./data/ipfs-data
``` ```
Note: Skip the `ipfs` ports if need to use an externally running IPFS node Note: Skip the `ipfs` ports if using an externally running IPFS node, set via `config.env`, below.
### Data volumes ### Data volumes