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 ## How to use it
- [Install docker](https://docs.docker.com/install/) - [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) - [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 - Get searxng-docker
```sh ```sh
cd /usr/local cd /usr/local
@ -61,7 +60,3 @@ Supported architecture:
- amd64 - amd64
- arm64 - arm64
- arm/v7 - 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: searxng:
container_name: searxng container_name: searxng
image: searxng/searxng:latest image: searxng/searxng:latest
restart: always
networks: networks:
- searxng - searxng
ports: ports:

View File

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