Added "restart: always" on SearXNG & Synapse containers

This commit is contained in:
Viyurz 2023-11-29 09:13:49 +00:00
parent e232eb47d9
commit 6f6a12640e
No known key found for this signature in database
2 changed files with 3 additions and 0 deletions

View file

@ -2,6 +2,7 @@ services:
redis:
container_name: searxng_redis
image: docker.io/library/redis:alpine
restart: always
command: redis-server --save 30 1 --loglevel warning
networks:
- searxng
@ -17,6 +18,7 @@ services:
searxng:
container_name: searxng
image: searxng/searxng:latest
restart: always
networks:
- searxng
ports:

View file

@ -2,6 +2,7 @@ services:
postgres:
container_name: synapse_postgres
image: postgres:alpine
restart: always
environment:
LANG: C
POSTGRES_INITDB_ARGS: "--locale=C --encoding=UTF8"