Add automatic restart of the services
close https://github.com/searxng/searxng-docker/pull/106
This commit is contained in:
parent
a0e711191e
commit
8546bf599b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue