From 8546bf599b5316347860896bfdccd90067e5689f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milien=20=28perso=29?= <4016501+unixfox@users.noreply.github.com> Date: Mon, 13 May 2024 15:43:18 +0200 Subject: [PATCH] Add automatic restart of the services close https://github.com/searxng/searxng-docker/pull/106 --- docker-compose.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index c41b4af..208d690 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,6 +5,7 @@ services: container_name: caddy image: docker.io/library/caddy:2-alpine network_mode: host + restart: unless-stopped volumes: - ./Caddyfile:/etc/caddy/Caddyfile:ro - caddy-data:/data:rw @@ -26,6 +27,7 @@ services: container_name: redis image: cgr.dev/chainguard/valkey:latest command: --save 30 1 --loglevel warning + restart: unless-stopped networks: - searxng volumes: @@ -45,6 +47,7 @@ services: searxng: container_name: searxng image: docker.io/searxng/searxng:latest + restart: unless-stopped networks: - searxng ports: