mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-29 14:54:30 +00:00
feat(backend): PRWLR-4022 Basic Django and DRF setup and dev tools (#4)
* 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
This commit is contained in:
1 parent
b440be717c
commit
7ff6d860ce
24 files changed
+463
-24
No files matched your search
@@ -0,0 +1,21 @@
|
||||
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
|
||||
Reference in new issue
Block a user