fix: add restart policy

This commit is contained in:
Steve Dudenhoeffer 2024-05-14 23:29:33 +00:00
parent 8c85472926
commit 61ce15dac5

View File

@ -9,6 +9,7 @@ services:
- "traefik.http.routers.drone.rule=Host(`drone.${DOMAIN_ROOT}`)" - "traefik.http.routers.drone.rule=Host(`drone.${DOMAIN_ROOT}`)"
- 'traefik.http.routers.drone.middlewares=authelia@docker' - 'traefik.http.routers.drone.middlewares=authelia@docker'
restart: unless-stopped
environment: environment:
- DRONE_GITEA_SERVER=https://gitea.${DOMAIN_ROOT} - DRONE_GITEA_SERVER=https://gitea.${DOMAIN_ROOT}
@ -44,6 +45,8 @@ services:
- DRONE_RUNNER_NAME=runners - DRONE_RUNNER_NAME=runners
- HOST_IP=${HOST_IP} - HOST_IP=${HOST_IP}
restart: unless-stopped
depends_on: depends_on:
- drone - drone