Add production docker-compose file and update pipeline

This commit is contained in:
Keannu Christian Bernasol 2025-09-01 02:36:13 +08:00
parent babab64113
commit ef95f6d09d
3 changed files with 16 additions and 2 deletions

14
docker-compose.prod.yml Normal file
View file

@ -0,0 +1,14 @@
services:
# API
django:
env_file: .env
build:
context: .
dockerfile: Dockerfile
image: git.06222001.xyz/keannu125/drf_template:latest
ports:
- "${BACKEND_PORT}:8000"
environment:
- RUN_TYPE=api
volumes:
- ./src:/app/src # Bind mount for persistent schema.yml and static files