mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 04:21:52 +00:00
7ff6d860ce
* chore: PRWLR-4022 add django-cors-headers * chore: PRWLR-4022 configure basic CORS * feat: PRWLR-4022 add drf-spectacular and spec/docs endpoints * build: PRWLR-4022 add basic docker development deployment * chore: PRWLR-4022 update schema generation * chore: PRWLR-4022 bump required Python version to 3.12
22 lines
444 B
YAML
22 lines
444 B
YAML
services:
|
|
restful-api:
|
|
build:
|
|
context: ./src
|
|
dockerfile: Dockerfile
|
|
image: prowler-restful-api
|
|
ports:
|
|
- "8000:8000"
|
|
|
|
restful-api-dev:
|
|
build:
|
|
context: ./src
|
|
dockerfile: Dockerfile.dev
|
|
image: prowler-restful-api-dev
|
|
ports:
|
|
- "8080:8000"
|
|
volumes:
|
|
- "./src/backend:/home/prowler/backend"
|
|
- "./src/pyproject.toml:/home/prowler/pyproject.toml"
|
|
profiles:
|
|
- dev
|