diff --git a/docker-compose.yml b/docker-compose.yml index ea8ae5ed..b63004f3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,14 +1,18 @@ version: '3' services: blog: - image: kasperhermansen/kasperhermansen-blog:1680866633 - restart: always - ports: - - 9080:80 - - 9443:443 + image: kasperhermansen/kasperhermansen-blog:1681036097 healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:80"] + test: + - CMD + - curl + - -f + - http://localhost:80 interval: 1m30s timeout: 30s retries: 3 start_period: 40s + ports: + - 9080:80 + - 9443:443 + restart: always