fix: docker compose
This commit is contained in:
@@ -2,10 +2,11 @@ version: '3.8'
|
||||
|
||||
services:
|
||||
api:
|
||||
build: .
|
||||
container_name: anime_tracker_api
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8012:8000"
|
||||
- "3000"
|
||||
environment:
|
||||
- DATABASE_URL=${DATABASE_URL:-postgresql://user:password@host:5432/anime_tracker}
|
||||
- SECRET_KEY=${SECRET_KEY:-change-this-secret-key-in-production-min-32-characters-long}
|
||||
|
||||
Reference in New Issue
Block a user