diff --git a/docker-compose.yml b/docker-compose.yml index 6081d55..750c534 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -71,13 +71,12 @@ services: ports: - "8080:8080" volumes: - # Mount the host static directory so scraped content is available outside - # the container. Create ./static/books on the host first if needed. - - "${STATIC_ROOT:-./static/books}:/app/static/books" + - static_books:/app/static/books healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:8080/health"] interval: 15s timeout: 5s retries: 3 -volumes: {} +volumes: + static_books: