Bence Balint b8aba28cea Merge branch 'dk-55' of kraxor/doorkeeper_srv into develop | 2 سال پیش | |
---|---|---|
.idea | 3 سال پیش | |
app | 2 سال پیش | |
scripts | 3 سال پیش | |
.gitignore | 2 سال پیش | |
Dockerfile | 2 سال پیش | |
README.md | 2 سال پیش | |
docker-compose.yml | 2 سال پیش | |
rebuild.sh | 3 سال پیش | |
run_tests.sh | 2 سال پیش | |
sentry.json.example | 2 سال پیش |
Server application for the DoorKeeper project.
Get a FireBase service account key, and place it in the project root as service-account.json
, then run:
docker-compose up
... or to (re)build the application using BuiltKit:
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up --build
The app directory is mounted into the docker container and the server will reload on code changes.
Run tests (will drop the database):
docker-compose up
./run_tests.sh
Remove all containers and data, then rebuild using BuiltKit:
./rebuild.sh
To enable Sentry integration, you must point the SENTRY_SETTINGS
environment variable to a valid JSON file (see
sentry.json.example
).
For the development environment, just uncomment
SENTRY_SETTINGS: /sentry.json
in docker-compose.yml
, then create a copy of the example configuration:
cp sentry.json.example sentry.json
and edit it to update the DSN URL.