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

feat: add mongo and mongo express to docker compose #412

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
6 changes: 6 additions & 0 deletions compose.env
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,9 @@ BRAVE_API_KEY=
## WHISPER
WHISPER_PORT=10300
WHISPER_MODEL=Systran/faster-distil-whisper-large-v3

## MongoDB
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example
ME_CONFIG_MONGODB_URL: mongodb://root:example@mongo:27017/
ME_CONFIG_BASICAUTH: false
30 changes: 30 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,36 @@ services:
networks:
- cognita-docker

mongo:
image: mongo
pull_policy: if_not_present
restart: unless-stopped
container_name: mongo
profiles:
- mongo
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
networks:
- cognita-docker

mongo-express:
image: mongo-express
pull_policy: if_not_present
restart: unless-stopped
container_name: mongo-express
profiles:
- mongo-express
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example
ME_CONFIG_MONGODB_URL: mongodb://root:example@mongo:27017/
ME_CONFIG_BASICAUTH: false
networks:
- cognita-docker

networks:
cognita-docker:
external: false
Loading