Download docker-compose.yml from trtlbby/skrep: direct link, hf CLI and curl.
- Browser
- Download file 624 Bytes
-
https://huggingface.co/spaces/trtlbby/skrep/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/trtlbby/skrep/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/trtlbby/skrep/resolve/main/docker-compose.yml
624 Bytes
| version: '3.8' | |
| services: | |
| backend: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| environment: | |
| - DATABASE_URL=sqlite:////app/data/oer_poc.db | |
| - ADMIN_PASSWORD=admin123 | |
| - FACULTY_PASSWORD=faculty123 | |
| env_file: | |
| - .env | |
| volumes: | |
| # Mount the local database file into the container's data directory to preserve existing data | |
| - ./oer_poc.db:/app/data/oer_poc.db | |
| ports: | |
| - "8000:7860" | |
| restart: always | |
| frontend: | |
| build: | |
| context: . | |
| dockerfile: frontend/Dockerfile | |
| ports: | |
| - "8080:80" | |
| depends_on: | |
| - backend | |
| restart: always | |