diff --git a/symfony/mercure-bundle/0.3/manifest.json b/symfony/mercure-bundle/0.3/manifest.json index 1d1895a0..5637bef7 100644 --- a/symfony/mercure-bundle/0.3/manifest.json +++ b/symfony/mercure-bundle/0.3/manifest.json @@ -21,7 +21,8 @@ " image: dunglas/mercure", " restart: unless-stopped", " environment:", - " SERVER_NAME: ':80'", + " # Uncomment the following line to disable HTTPS,", + " #SERVER_NAME: ':80'", " MERCURE_PUBLISHER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'", " MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeThisMercureHubJWTSecretKey!'", " # Set the URL of your Symfony project (without trailing slash!) as value of the cors_origins directive", @@ -29,6 +30,11 @@ " cors_origins http://127.0.0.1:8000", " # Comment the following line to disable the development mode", " command: /usr/bin/caddy run --config /etc/caddy/Caddyfile.dev", + " healthcheck:", + " test: [\"CMD\", \"curl\", \"-f\", \"https://localhost/healthz\"]", + " timeout: 5s", + " retries: 5", + " start_period: 60s", " volumes:", " - mercure_data:/data", " - mercure_config:/config"