mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 14:45:38 +00:00
add documentation
This commit is contained in:
@ -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/*
|
||||
|
@ -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)*
|
||||
|
Reference in New Issue
Block a user