Spaces:
Running
Running
Download src/services/webserver/docker-compose.yaml from Leon4gr45/brain: direct link, hf CLI and curl.
- Browser
- Download file 540 Bytes
-
https://huggingface.co/spaces/Leon4gr45/brain/resolve/main/src/services/webserver/docker-compose.yaml
- Command line
-
hf download hf://spaces/Leon4gr45/brain/src/services/webserver/docker-compose.yaml
-
curl -L -o docker-compose.yaml https://huggingface.co/spaces/Leon4gr45/brain/resolve/main/src/services/webserver/docker-compose.yaml
540 Bytes
| version: "3.9" | |
| services: | |
| nginx: | |
| build: | |
| context: ./nginx | |
| image: local/nginx-8000-8001:latest | |
| container_name: nginx_8000_8001 | |
| ports: | |
| - "80:80" | |
| - "443:443" | |
| - "8000:8000" | |
| - "8001:8001" | |
| extra_hosts: | |
| - "host.docker.internal:host-gateway" | |
| volumes: | |
| - ./html:/usr/share/nginx/html:ro | |
| - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "nginx", "-t"] | |
| interval: 30s | |
| timeout: 5s | |
| retries: 3 | |