From 61ce15dac52ecf307a5f9a4d001d68f35e351945 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Tue, 14 May 2024 23:29:33 +0000 Subject: [PATCH] fix: add restart policy --- nuc/drone/docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nuc/drone/docker-compose.yml b/nuc/drone/docker-compose.yml index 2aab0ab..bf77a3b 100644 --- a/nuc/drone/docker-compose.yml +++ b/nuc/drone/docker-compose.yml @@ -9,6 +9,7 @@ services: - "traefik.http.routers.drone.rule=Host(`drone.${DOMAIN_ROOT}`)" - 'traefik.http.routers.drone.middlewares=authelia@docker' + restart: unless-stopped environment: - DRONE_GITEA_SERVER=https://gitea.${DOMAIN_ROOT} @@ -44,6 +45,8 @@ services: - DRONE_RUNNER_NAME=runners - HOST_IP=${HOST_IP} + restart: unless-stopped + depends_on: - drone