Update db_url default, add env_file and volumes in Docker, enhance logging
This commit is contained in:
@@ -6,6 +6,18 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
image: pjl-backend:1.0rc1
|
||||
|
||||
env_file:
|
||||
- .env.prod
|
||||
|
||||
Environment:
|
||||
DB_URL: /app/data/pjl.duckdb
|
||||
DEFAULT_AVATAR_URL: https://api.dicebear.com/9.x/adventurer-neutral/svg?seed=Kingston
|
||||
OMDB_API_KEY: ${OMDB_API_KEY}
|
||||
STAGE: prod
|
||||
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
|
||||
# Host the FastAPI application on port 8000
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
||||
Reference in New Issue
Block a user