add documentation

This commit is contained in:
Wonderfall
2017-08-27 18:05:49 +02:00
parent 6ddfe1b7c6
commit 98d0cd925d
28 changed files with 286 additions and 1127 deletions

View File

@ -1,5 +1,7 @@
FROM alpine:3.6
ARG VERSION=0.12.0
ENV BASE_URL=False IMAGE_PROXY=False \
UID=991 GID=991
@ -21,9 +23,9 @@ RUN apk -U upgrade \
openssl \
tini \
py2-pip \
&& pip install --no-cache -r https://raw.githubusercontent.com/asciimoo/searx/master/requirements.txt \
&& mkdir /usr/local/searx && cd /usr/local/searx \
&& wget -qO- https://github.com/asciimoo/searx/archive/master.tar.gz | tar xz --strip 1 \
&& wget -qO- https://github.com/asciimoo/searx/archive/v${VERSION}.tar.gz | tar xz --strip 1 \
&& pip install --no-cache -r requirements.txt \
&& sed -i "s/127.0.0.1/0.0.0.0/g" searx/settings.yml \
&& apk del build-dependencies \
&& rm -f /var/cache/apk/*

View File

@ -11,6 +11,9 @@ It provides basic privacy by mixing your queries with searches on other platform
- Latest code from [asciimoo/searx](https://github.com/asciimoo/searx)
- A unique secret key is generated when booting the first time.
#### Build-time variables
- **VERSION** : Searx version
#### Environment variables
- **IMAGE_PROXY** : enables images proxying *(default : False)*
- **BASE_URL** : http://domain.tld *(default : False)*