.env, and infura key
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
parent
2057230713
commit
684ebe7afe
|
@ -86,6 +86,10 @@ Start :
|
|||
```bash
|
||||
docker-compose up
|
||||
```
|
||||
To use with ifura key create a .env file (look at .env.example)
|
||||
```bash
|
||||
docker-compose --env-file .env up
|
||||
```
|
||||
|
||||
Switch to a new terminal:
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
INFURA_PROJECT_ID="xxx"
|
|
@ -17,7 +17,7 @@ services:
|
|||
postgres_pass: let-me-in
|
||||
postgres_db: graph-node
|
||||
ipfs: 'ipfs:5001'
|
||||
ethereum: 'rinkeby:https://rinkeby.infura.io/v3/XXXX'
|
||||
ethereum: 'rinkeby:https://rinkeby.infura.io/v3/${INFURA_PROJECT_ID}'
|
||||
RUST_LOG: info
|
||||
ipfs:
|
||||
image: ipfs/go-ipfs:v0.4.23
|
||||
|
@ -29,7 +29,7 @@ services:
|
|||
image: postgres
|
||||
ports:
|
||||
- '5432:5432'
|
||||
command: ["postgres", "-cshared_preload_libraries=pg_stat_statements"]
|
||||
command: ['postgres', '-cshared_preload_libraries=pg_stat_statements']
|
||||
environment:
|
||||
POSTGRES_USER: graph-node
|
||||
POSTGRES_PASSWORD: let-me-in
|
||||
|
|
Loading…
Reference in New Issue