Added "restart: always" on SearXNG & Synapse containers
This commit is contained in:
parent
e232eb47d9
commit
6f6a12640e
2 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue