Spaces:
Sleeping
Sleeping
Download docker-compose.yml from AZONESTECHNOLOGIES/invoice_db: direct link, hf CLI and curl.
- Browser
- Download file 587 Bytes
-
https://huggingface.co/spaces/AZONESTECHNOLOGIES/invoice_db/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/AZONESTECHNOLOGIES/invoice_db/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/AZONESTECHNOLOGIES/invoice_db/resolve/main/docker-compose.yml
587 Bytes
| version: '3.8' | |
| services: | |
| db: | |
| image: mongo:latest | |
| container_name: mongodb | |
| volumes: | |
| - mongo_data:/data/db | |
| ports: | |
| - "27017:27017" | |
| web: | |
| build: . | |
| container_name: django_web | |
| image: azoneslab/invioce_extraction:db | |
| command: python manage.py runserver 0.0.0.0:7860 | |
| volumes: | |
| - ./invoice:/app | |
| ports: | |
| - "7860:7860" | |
| depends_on: | |
| - db | |
| environment: | |
| # - MONGO_URI=mongodb://db:27017 | |
| - DJANGO_SETTINGS_MODULE=invoice.settings | |
| - endpoint=${endpoint} | |
| - key=${key} | |
| volumes: | |
| mongo_data: | |