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:
|
redis:
|
||||||
container_name: searxng_redis
|
container_name: searxng_redis
|
||||||
image: docker.io/library/redis:alpine
|
image: docker.io/library/redis:alpine
|
||||||
|
restart: always
|
||||||
command: redis-server --save 30 1 --loglevel warning
|
command: redis-server --save 30 1 --loglevel warning
|
||||||
networks:
|
networks:
|
||||||
- searxng
|
- searxng
|
||||||
|
@ -17,6 +18,7 @@ services:
|
||||||
searxng:
|
searxng:
|
||||||
container_name: searxng
|
container_name: searxng
|
||||||
image: searxng/searxng:latest
|
image: searxng/searxng:latest
|
||||||
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- searxng
|
- searxng
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -2,6 +2,7 @@ services:
|
||||||
postgres:
|
postgres:
|
||||||
container_name: synapse_postgres
|
container_name: synapse_postgres
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
LANG: C
|
LANG: C
|
||||||
POSTGRES_INITDB_ARGS: "--locale=C --encoding=UTF8"
|
POSTGRES_INITDB_ARGS: "--locale=C --encoding=UTF8"
|
||||||
|
|
Loading…
Reference in a new issue