Spaces:
Sleeping
Sleeping
Download docker-compose.yml from sae8d/not-google: direct link, hf CLI and curl.
- Browser
- Download file 553 Bytes
-
https://huggingface.co/spaces/sae8d/not-google/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/sae8d/not-google/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/sae8d/not-google/resolve/main/docker-compose.yml
553 Bytes
| version: '3.8' | |
| services: | |
| api: | |
| build: . | |
| ports: | |
| - "8000:8000" | |
| env_file: .env | |
| depends_on: | |
| - redis | |
| restart: always | |
| worker: | |
| build: . | |
| command: celery -A indexer.tasks worker --loglevel=info | |
| env_file: .env | |
| depends_on: | |
| - redis | |
| restart: always | |
| crawler: | |
| build: . | |
| command: scrapy runspider crawler/spiders/bbc_spider.py | |
| env_file: .env | |
| depends_on: | |
| - redis | |
| # The crawler will finish once it hits MAX_PAGES | |
| redis: | |
| image: redis:7-alpine | |
| ports: | |
| - "6379:6379" | |