Spaces:
Running
Running
Download docker-compose.yml from risenetup/chess-monolith: direct link, hf CLI and curl.
- Browser
- Download file 693 Bytes
-
https://huggingface.co/spaces/risenetup/chess-monolith/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/risenetup/chess-monolith/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/risenetup/chess-monolith/resolve/main/docker-compose.yml
693 Bytes
| services: | |
| postgres: | |
| image: postgres:16-alpine | |
| container_name: chess-postgres | |
| restart: unless-stopped | |
| environment: | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: password | |
| POSTGRES_DB: chess | |
| ports: | |
| - "5432:5432" | |
| volumes: | |
| - postgres_data:/var/lib/postgresql/data | |
| networks: | |
| - chess-network | |
| redis: | |
| image: redis:7-alpine | |
| container_name: chess-redis | |
| restart: unless-stopped | |
| command: redis-server --appendonly yes | |
| ports: | |
| - "6379:6379" | |
| volumes: | |
| - redis_data:/data | |
| networks: | |
| - chess-network | |
| volumes: | |
| postgres_data: | |
| redis_data: | |
| networks: | |
| chess-network: | |
| name: chess-network | |