diff --git a/docker-compose.yml.example b/docker-compose.yml.example index 245ed83c4..73cf24c96 100644 --- a/docker-compose.yml.example +++ b/docker-compose.yml.example @@ -3,13 +3,13 @@ version: '2.1' services: webserver: build: ./ - # uncomment the following line to start automatically on system boot - # restart: always + # uncomment the following line to start automatically on system boot + # restart: always ports: # You can adapt the port you want Paperless to listen on by # modifying the part before the `:`. - "8000:8000" - healthcheck: + healthcheck: test: ["CMD", "curl" , "-f", "http://localhost:8000"] interval: 30s timeout: 10s @@ -28,9 +28,9 @@ services: consumer: build: ./ - # uncomment the following line to start automatically on system boot - # restart: always - depends_on: + # uncomment the following line to start automatically on system boot + # restart: always + depends_on: webserver: condition: service_healthy volumes: