зеркало из https://github.com/mozilla/bugbug.git
a2eb5e216b
Bumps [flask](https://github.com/pallets/flask) from 2.2.2 to 2.2.3. - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/flask/compare/2.2.2...2.2.3) --- updated-dependencies: - dependency-name: flask dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
bugbug_http | ||
tests | ||
.dockerignore | ||
Dockerfile | ||
Dockerfile.bg_worker | ||
MANIFEST.in | ||
README.md | ||
docker-compose.yml | ||
ensure_models.sh | ||
requirements.txt | ||
setup.py |
README.md
Local development
For starting the service locally run the following commands.
Start Redis:
docker-compose up redis
Build the http service image:
docker build -t mozilla/bugbug-http-service -f Dockerfile .
Start the http service:
docker-compose up bugbug-http-service
Build the background worker image:
docker build -t mozilla/bugbug-http-service-bg-worker --build-arg TAG=latest -f Dockerfile.bg_worker .
Run the background worker:
docker-compose up bugbug-http-service-bg-worker