mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
document macOS Docker restriction for Spree
This commit is contained in:
parent
e2aef49256
commit
ba4717bbd3
15
README.md
15
README.md
@ -88,6 +88,21 @@ Finally, you need to copy the generated contract artifacts out of the Docker con
|
||||
|
||||
The script will wait for all contracts to be generated in the `keeper-contracts` Docker container, then will copy the artifacts in place.
|
||||
|
||||
If you are on macOS, you need to additionally tweak your `/etc/hosts` file so Brizo can connect to Aquarius. This is only required on macOS and is a [known limitation of Docker for Mac](https://docs.docker.com/docker-for-mac/networking/#known-limitations-use-cases-and-workarounds):
|
||||
|
||||
```bash
|
||||
sudo vi /etc/hosts
|
||||
|
||||
# add this line, and save
|
||||
127.0.0.1 aquarius
|
||||
```
|
||||
|
||||
Then use this host for the local Aquarius url in the client config:
|
||||
|
||||
```bash
|
||||
REACT_APP_AQUARIUS_URI="http://aquarius:5000"
|
||||
```
|
||||
|
||||
### ⛵️ Environment Variables
|
||||
|
||||
#### Client
|
||||
|
@ -46,7 +46,7 @@ REACT_APP_BRIZO_ADDRESS="0x0474ed05ba757dde575dfaaaa267d9e7f3643abc"
|
||||
# Connect to Spree (local with Barge)
|
||||
#
|
||||
# REACT_APP_NODE_URI="http://localhost:8545"
|
||||
# REACT_APP_AQUARIUS_URI="http://localhost:5000"
|
||||
# REACT_APP_AQUARIUS_URI="http://aquarius:5000"
|
||||
# REACT_APP_BRIZO_URI="http://localhost:8030"
|
||||
# REACT_APP_SECRET_STORE_URI="http://localhost:12001"
|
||||
# REACT_APP_FAUCET_URI="http://localhost:3001"
|
||||
|
Loading…
Reference in New Issue
Block a user