We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc71ef commit 263a2bcCopy full SHA for 263a2bc
authentik/outposts/controllers/docker.py
@@ -203,6 +203,12 @@ def _get_container(self) -> tuple[Container, bool]:
203
"labels": self._get_labels(),
204
"restart_policy": {"Name": "unless-stopped"},
205
"network": self.outpost.config.docker_network,
206
+ "healthcheck": {
207
+ "test": ["CMD", f"/{self.outpost.type}", "healthcheck"],
208
+ "interval": 5 * 1_000 * 1_000_000,
209
+ "retries": 20,
210
+ "start_period": 3 * 1_000 * 1_000_000,
211
+ },
212
}
213
if self.outpost.config.docker_map_ports:
214
container_args["ports"] = {
0 commit comments