Spaces:
Sleeping

doc-extract-backend / docker-compose.yml
Olukayode Adeoye Simeon
modified the frontend url variable within the code to be dynamic
50c9c08
Raw History Blame Contribute Delete
412 Bytes
# central docker compose file
services:
backend:
build:
context: .
ports:
- "8000:8000"
volumes:
- ./app:/app
command: >
sh -c "uvicorn main:app --host 0.0.0.0 --port 8000 --reload"
environment:
- HF_TOKEN=${HF_TOKEN} # the hugging face access token from the environment file
- FRONTEND_URL=${FRONTEND_URL} # the frontend URL from the environment file