forked from andika/membership-be
Refactor docker-compose.yml by removing unnecessary lines and cleaning up formatting
This commit is contained in:
Binary file not shown.
@@ -1,10 +1,8 @@
|
|||||||
version: "3.9"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
backend:
|
backend:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile # Use Dockerfile.prod for production
|
dockerfile: Dockerfile # Use Dockerfile.prod for production
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
env_file:
|
env_file:
|
||||||
@@ -12,8 +10,5 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
DATABASE_URL: "{DATABASE_URL}"
|
DATABASE_URL: "{DATABASE_URL}"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app # sync code for hot reload
|
- .:/app # sync code for hot reload
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user