Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove database name #21

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
MONGO_INITDB_ROOT_USERNAME=
MONGO_INITDB_ROOT_PASSWORD=
MONGO_DB_NAME=
MONGO_DB_API_PORT=
API_PORT=
LOG_LEVEL=
Expand Down
5 changes: 2 additions & 3 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ services:
- ui.dappnode

# Below services simulates web3signer setup

web3signer:
build:
context: web3signer/signer
Expand Down Expand Up @@ -92,8 +92,7 @@ networks:
dncore_network:
name: dncore_network
external: true


volumes:
brain_data: {}
mongo-data: {}
mongo_data: {}
6 changes: 2 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ services:
- "8080:8080"
environment:
MONGO_DB_URI: "mongodb://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@mongo:${MONGO_DB_API_PORT}"
MONGO_DB_NAME: "${MONGO_DB_NAME}"
API_PORT: "${API_PORT}"
LOG_LEVEL: "${LOG_LEVEL}"
BYPASS_VALIDATORS_FILTERING: "${BYPASS_VALIDATORS_FILTERING}"
Expand Down Expand Up @@ -44,13 +43,12 @@ services:
build:
context: mongo
volumes:
- mongo-data:/data/db
- mongo_data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_INITDB_ROOT_PASSWORD}
MONGO_INITDB_DATABASE: "${MONGO_DB_NAME}"
command: ["mongod", "--config", "/etc/mongo/mongod.conf"]
container_name: mongo

volumes:
mongo-data:
mongo_data: {}
Loading