Files
prowler/docker-compose.yml
T
Víctor Fernández Poyatos 7ff6d860ce 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
2024-07-03 09:34:29 -04:00

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