-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
[BUG] External databases support with MongoDB #132
Comments
butschster
added a commit
that referenced
this issue
Apr 14, 2024
1. Updates codebase up to PHP 8.2 using rector 2. Fixes database migrations #133 3. Runs migrations on server startup, when persistence driver `database` is used #133 4. Moves Dockerfile from `docker` -> `.docker` 5. Moves installation some PHP ext from repository `Dockerfile` to `buggregator/docker` repository to reduce time for docker image build 6. Improves `docker-compose.yaml`. Adds `mongodb`, `postgres` containers for testing connection 7. Adds missed `mongodb/mongodb` package #132
Merged
This should be done by latest release. Could you check please? :) |
This works: services:
buggregator:
image: ghcr.io/buggregator/server:latest
depends_on:
buggregator-database:
condition: service_healthy
ports:
- 127.0.0.1:8000:8000
environment:
PERSISTENCE_DRIVER: 'mongodb'
MONGODB_CONNECTION: 'mongodb:https://buggregator-database:27017'
MONGODB_DATABASE: 'buggregator'
buggregator-database:
image: mongo:latest
healthcheck:
test: [ "CMD-SHELL", "mongosh --eval 'db.runCommand({ping: 1}).ok' || exit 1" ]
interval: 3s
timeout: 3s
retries: 1 |
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: