mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-14 15:34:19 +00:00
* chore(CI): import pre-commit-config.yaml from prowler-cloud/prowler * chore(CI): import pre-commit-config.yaml from prowler-cloud/prowler * chore(CI): add safety package to pre-commit * chore(CI): use poetry run to access venv for local checks * docs(repo): add community focused docs * chore(GitHub): add ISSUE_TEMPLATEs same as prowler-cloud/prowler repo * chore(CI): add pull-request.yml workflow runs on PRs and pushes to main * chore(CI): add additional workflows same as those on prowler-cloud/prowler * fix(CI): use correct path * fix(API): fix flake8 F401 failures * fix(API, Backend): format with black * fix( Backend): format with black * fix(CI): use correct path * fix(CI): move pyproject.toml * fix(CI): simplify tools with ruff * fix(CI): use ruff instead of flake8, black * fix(CI): change ruff commands for GHA * fix(CI): use correct ruff command name * fix(Backend): ruff format * fix(CI): ignore safety jinja2 vuln id 70612 and add mypy for future usage * fix(CI): set file path for hadolint * fix(CI): add dockle * fix(CI): update dockle version * fix(CI): fix hadolint errors * fix(CI): add simple tests for CI * fix(Docker): multi-stage docker build * docs(README): update docs for poetry location
21 lines
412 B
YAML
21 lines
412 B
YAML
services:
|
|
restful-api:
|
|
build:
|
|
dockerfile: Dockerfile
|
|
image: prowler-restful-api
|
|
ports:
|
|
- "8000:8000"
|
|
|
|
restful-api-dev:
|
|
build:
|
|
dockerfile: Dockerfile
|
|
target: dev
|
|
image: prowler-restful-api-dev
|
|
ports:
|
|
- "8080:8000"
|
|
volumes:
|
|
- "./src/backend:/home/prowler/backend"
|
|
- "./pyproject.toml:/home/prowler/pyproject.toml"
|
|
profiles:
|
|
- dev
|