Compare commits
2 commits
9a822af310
...
2edb8d8e15
Author | SHA1 | Date | |
---|---|---|---|
Rafael Caricio | 2edb8d8e15 | ||
Rafael Caricio | 15d4435d80 |
|
@ -6,6 +6,7 @@
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "Privacy-respecting metasearch engine",
|
"tagline": "Privacy-respecting metasearch engine",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
"memoryLimit": 589719142400,
|
||||||
"healthCheckPath": "/",
|
"healthCheckPath": "/",
|
||||||
"httpPort": 8888,
|
"httpPort": 8888,
|
||||||
"addons": {
|
"addons": {
|
||||||
|
|
|
@ -29,6 +29,9 @@ ENV INSTANCE_NAME=searxng \
|
||||||
RUN mv /app/code/searx/settings.yml /app/code/searx/settings.yml.orig && \
|
RUN mv /app/code/searx/settings.yml /app/code/searx/settings.yml.orig && \
|
||||||
ln -sf /app/data/settings.yml /app/code/searx/settings.yml
|
ln -sf /app/data/settings.yml /app/code/searx/settings.yml
|
||||||
|
|
||||||
|
RUN echo "VERSION_STRING=\"m${VERSION}\";VERSION_TAG=\"m${VERSION}\";GIT_URL=\"https://git.caric.io/mirrors/searxng\";GIT_BRANCH=\"m${VERSION}\"" \
|
||||||
|
> /app/code/searx/version_frozen.py
|
||||||
|
|
||||||
RUN chown -R www-data.www-data /app/code
|
RUN chown -R www-data.www-data /app/code
|
||||||
|
|
||||||
# Fix python UnicodeDecodeError
|
# Fix python UnicodeDecodeError
|
||||||
|
|
1
start.sh
1
start.sh
|
@ -10,6 +10,7 @@ if [[ ! -f /app/data/uwsgi.ini ]]; then
|
||||||
-e "s/chdir = .*/chdir = \/app\/code\/searx/g" \
|
-e "s/chdir = .*/chdir = \/app\/code\/searx/g" \
|
||||||
-e "s/uid = .*/uid = www-data/g" \
|
-e "s/uid = .*/uid = www-data/g" \
|
||||||
-e "s/gid = .*/gid = www-data/g" \
|
-e "s/gid = .*/gid = www-data/g" \
|
||||||
|
-e "s/workers = .*/workers = 4/g" \
|
||||||
-e "s/static-map = \/static=.*/static-map = \/static=\/app\/code\/searx\/static/g" \
|
-e "s/static-map = \/static=.*/static-map = \/static=\/app\/code\/searx\/static/g" \
|
||||||
-i /app/data/uwsgi.ini
|
-i /app/data/uwsgi.ini
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue