Tidy up the compose
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user