add restart unless stopped on container

This commit is contained in:
kbe
2025-06-07 20:17:47 +02:00
parent 683b593fb2
commit 96b7ecc04c

View File

@@ -2,6 +2,7 @@ version: "3.8"
services: services:
runner: runner:
image: docker.io/gitea/act_runner:0.2.11 image: docker.io/gitea/act_runner:0.2.11
restart: unless-stopped
environment: environment:
CONFIG_FILE: /config.yaml CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: "${INSTANCE_URL:-http://gitea.cyanet.fr}" GITEA_INSTANCE_URL: "${INSTANCE_URL:-http://gitea.cyanet.fr}"