Remove scripts 2/n

This commit is contained in:
Alexandre Flament 2022-04-22 09:45:47 +02:00
parent 914e6e3159
commit d4ae67a468
3 changed files with 4 additions and 8 deletions

View file

@ -13,7 +13,6 @@ Create a new SearXNG instance in five minutes using Docker
## How to use it
- [Install docker](https://docs.docker.com/install/)
- [Install docker-compose](https://docs.docker.com/compose/install/) (be sure that docker-compose version is at least 1.9.0)
- only on MacOSX: ```brew install coreutils``` to install ```greadlink```
- Get searxng-docker
```sh
cd /usr/local
@ -61,7 +60,3 @@ Supported architecture:
- amd64
- arm64
- arm/v7
## How to update ?
Check the content of [```update.sh```](https://github.com/searxng/searxng-docker/blob/master/update.sh)

View file

@ -37,7 +37,6 @@ services:
searxng:
container_name: searxng
image: searxng/searxng:latest
restart: always
networks:
- searxng
ports:

View file

@ -6,9 +6,11 @@ After=docker.service
[Service]
Restart=on-failure
Environment=SEARXNG_DOCKERCOMPOSEFILE=docker-compose.yaml
WorkingDirectory=/usr/local/searxng-docker
ExecStart=/usr/local/bin/docker-compose up --remove-orphans
ExecStop=/usr/local/bin/docker-compose down
ExecStart=/usr/local/bin/docker-compose -f ${SEARXNG_DOCKERCOMPOSEFILE} up --remove-orphans
ExecStop=/usr/local/bin/docker-compose -f ${SEARXNG_DOCKERCOMPOSEFILE} down
[Install]
WantedBy=multi-user.target