docker-compose.yml
· 300 B · YAML
Raw
services:
phanpy:
image: ghcr.io/yitsushi/phanpy-docker:latest
container_name: phanpy
hostname: phanpy
ports:
- 3000:3000
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 30s
timeout: 10s
retries: 3
restart: unless-stopped
| 1 | services: |
| 2 | phanpy: |
| 3 | image: ghcr.io/yitsushi/phanpy-docker:latest |
| 4 | container_name: phanpy |
| 5 | hostname: phanpy |
| 6 | ports: |
| 7 | - 3000:3000 |
| 8 | healthcheck: |
| 9 | test: ["CMD", "curl", "-f", "http://localhost"] |
| 10 | interval: 30s |
| 11 | timeout: 10s |
| 12 | retries: 3 |
| 13 | restart: unless-stopped |