24 lines
530 B
YAML
24 lines
530 B
YAML
services:
|
|
pjl-backend:
|
|
# Build the image from the Dockerfile in the current directory
|
|
build:
|
|
context: .
|
|
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"
|