diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml deleted file mode 100644 index 3832a82..0000000 --- a/docker-compose.prod.yml +++ /dev/null @@ -1,14 +0,0 @@ -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 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 7d7869f..3832a82 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,3 +10,5 @@ services: - "${BACKEND_PORT}:8000" environment: - RUN_TYPE=api + volumes: + - ./src:/app/src # Bind mount for persistent schema.yml and static files \ No newline at end of file