Download docker-compose.yml from Abhisingh-18/PixelStream-BLD: direct link, hf CLI and curl.
- Browser
- Download file 680 Bytes
-
https://huggingface.co/Abhisingh-18/PixelStream-BLD/resolve/main/docker-compose.yml
- Command line
-
hf download hf://Abhisingh-18/PixelStream-BLD/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/Abhisingh-18/PixelStream-BLD/resolve/main/docker-compose.yml
680 Bytes
| services: | |
| backend: | |
| build: ./backend | |
| ports: | |
| - "8080:8080" | |
| shm_size: "1gb" # prevents Chromium from crashing inside the container | |
| environment: | |
| - PORT=8080 | |
| - START_URL=https://www.google.com | |
| frontend: | |
| build: ./frontend | |
| ports: | |
| - "3000:3000" | |
| environment: | |
| # browser talks to the backend directly on the host port | |
| - NEXT_PUBLIC_WS_URL=ws://localhost:8080 | |
| - WATCHPACK_POLLING=true # reliable hot-reload on Windows-mounted files | |
| volumes: | |
| - ./frontend:/app # live-mount source for hot reload | |
| - /app/node_modules # keep container's node_modules | |
| depends_on: | |
| - backend | |