Skip to content

Commit

Permalink
Fix setup (EthTx#83)
Browse files Browse the repository at this point in the history
* You must provide a default database in the connection string or it will fail to start
* Remove duplicated ENVs
  • Loading branch information
feld authored Feb 7, 2022
1 parent a62ec46 commit 999afe9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .env_sample
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ETHERSCAN_KEY=
# Optional. Those represent data required for connecting to mongoDB. It's used for caching semantics
# used in decoding process. But, it's not neccessary for running, If you don't want to use permanent
# db or setup mongo, leave those values, mongomock package is used to simulate in-memory mongo.
MONGO_CONNECTION_STRING=mongomock://localhost
MONGO_CONNECTION_STRING=mongomock://localhost/ethtx
MONGODB_DB=ethtx


Expand Down
3 changes: 0 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ services:
- .env
depends_on:
- mongo
environment:
- MONGO_CONNECTION_STRING=mongodb://mongo
- MONGODB_DB=ethtx
mongo:
image: mongo
environment:
Expand Down

0 comments on commit 999afe9

Please sign in to comment.