Tidy up the compose

This commit is contained in:
2026-01-07 19:11:28 +01:00
parent b98b401916
commit 3e17a01378
2 changed files with 8 additions and 12 deletions

View File

@@ -2,18 +2,14 @@ version: '3.8'
services:
nginx-cache-proxy:
build: .
ports:
- "3000:3000"
image: docker.site.quack-lab.dev/nginx-cache-proxy:latest
expose:
- 3000
volumes:
- nginx_cache:/var/cache/nginx
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/?url=http://httpbin.org/get"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
nginx_cache: