From ba2da9dcf981888c33c6328f841eca767a558349 Mon Sep 17 00:00:00 2001 From: mohammedalqadi <65144622+mohammedalqadi@users.noreply.github.com> Date: Mon, 11 May 2020 05:48:14 +0300 Subject: [PATCH 01/17] Change Dockerfile to LinuxServer.io base Improve Docker image by using lsiobase/python as base and adding PUID/PGID user mapping instead running as root, also reduce image size from ~900MB to 500MB --- Dockerfile | 64 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 56 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1eee37f..1165816 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,61 @@ -FROM python:3.8 +FROM lsiobase/python:3.11 -WORKDIR /usr/src/app +ARG WHOOGLESEARCH_RELEASE +ARG BUILD_DATE=unspecified +ARG VCS_REF=unspecified -COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +# set python to use utf-8 rather than ascii. +ENV PYTHONIOENCODING="UTF-8" -COPY . . -RUN chmod +x ./whoogle-search +LABEL org.label-schema.name="Whoogle Search" +LABEL org.label-schema.description="Self-hosted, ad-free, privacy-respecting alternative to Google search" +LABEL org.label-schema.vcs-url="https://github.com/benbusby/whoogle-search" +LABEL org.label-schema.build-date="${BUILD_DATE:-unspecified}" +LABEL org.label-schema.vcs-ref="${VCS_REF:-unspecified}" +RUN \ + echo "**** install build packages ****" && \ + apk add --no-cache --upgrade \ + cmake \ + g++ \ + gcc \ + git \ + make \ + curl-dev \ + libressl-dev \ + libffi-dev \ + python3-dev && \ + echo "**** install runtime packages ****" && \ + apk add --no-cache --upgrade \ + curl \ + nano \ + py3-pip \ + py3-pylast \ + python3 \ + tar \ + wget && \ + echo "**** install app ****" && \ + mkdir -p /tmp/whooglesearch && \ + if [ -z ${WHOOGLESEARCH_RELEASE+x} ]; then \ + WHOOGLESEARCH_RELEASE=$(curl -sX GET "https://api.github.com/repos/benbusby/whoogle-search/commits/master" \ + | awk '/sha/{print $4;exit}' FS='[""]'); \ + fi && \ + curl -o \ + /tmp/whooglesearch.tar.gz -L \ + "https://github.com/benbusby/whoogle-search/archive/${WHOOGLESEARCH_RELEASE}.tar.gz" && \ + tar xf /tmp/whooglesearch.tar.gz -C \ + /tmp/whooglesearch --strip-components=1 && \ + echo "**** install pip packages ****" && \ + pip3 install --no-cache-dir -r \ + /tmp/whooglesearch/requirements.txt && \ + cp -r /tmp/whooglesearch/app / && \ + echo "**** Cleanup ****" && \ + rm -Rf /tmp/* + +# add local files +COPY root/ / + +WORKDIR /app + +# ports and volumes EXPOSE 5000 - -CMD ["./whoogle-search"] From 486f148e19880d8ac293cd72ede9649a4283b37d Mon Sep 17 00:00:00 2001 From: mohammedalqadi <65144622+mohammedalqadi@users.noreply.github.com> Date: Mon, 11 May 2020 05:56:33 +0300 Subject: [PATCH 02/17] Update docker-compose file Adding build option for dockerfile --- docker-compose.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c6c9ced..e1a125a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,21 @@ version: "3" services: - whoogle-search: - image: benbusby/whoogle-search - container_name: whoogle-search - ports: - - 8888:5000 - restart: unless-stopped +# ---------------------------------------- + whoogle-search: + container_name: whoogle-search + hostname: whoogle-search + # Uncomment to build from local + # build: + # dockerfile: Dockerfile + # context: . + # image: "whoogle-search" + image: "benbusby/whoogle-search" + restart: always + ports: + - "5000:5000" + environment: + - PUID=${PUID} # User uid + - PGID=${PGID} # User gid + - TZ=${TZ} # TimeZone + - WEB_PORT=5000 # Default port 5000 From ff049cf2d5d78c6eb994029e686643dd4639ed4c Mon Sep 17 00:00:00 2001 From: mohammedalqadi <65144622+mohammedalqadi@users.noreply.github.com> Date: Mon, 11 May 2020 06:00:46 +0300 Subject: [PATCH 03/17] Adding 30-config Adding needed files for docker image --- root/etc/cont-init.d/30-config | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 root/etc/cont-init.d/30-config diff --git a/root/etc/cont-init.d/30-config b/root/etc/cont-init.d/30-config new file mode 100644 index 0000000..fa91edd --- /dev/null +++ b/root/etc/cont-init.d/30-config @@ -0,0 +1,21 @@ +#!/usr/bin/with-contenv bash + +# Env variable validation +VARS=( \ +TZ +WEB_PORT +) + +for i in "${VARS[@]}"; do + if [ -z ${!i+x} ]; then + echo "[cont-init.d] ${i} is required and is not set will not continue" + exit 0 + fi +done + +export APP_ROOT=/app +export STATIC_FOLDER=/app/static + +# permissions +chown -R abc:abc \ + /app From 0ed071487b2b55022cb7899e54815a08db3d326a Mon Sep 17 00:00:00 2001 From: mohammedalqadi <65144622+mohammedalqadi@users.noreply.github.com> Date: Mon, 11 May 2020 06:01:39 +0300 Subject: [PATCH 04/17] Create run Adding needed files for docker image --- root/etc/services.d/whooglesearch/run | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 root/etc/services.d/whooglesearch/run diff --git a/root/etc/services.d/whooglesearch/run b/root/etc/services.d/whooglesearch/run new file mode 100644 index 0000000..bdfa07a --- /dev/null +++ b/root/etc/services.d/whooglesearch/run @@ -0,0 +1,8 @@ +#!/usr/bin/with-contenv bash + +WEB_PORT=${WEB_PORT:-5000} + +cd / + +exec \ + s6-setuidgid abc flask run --host="0.0.0.0" --port="${WEB_PORT}" From 46fdcddc5ec8b315e523dc0365c490acd61eeeed Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Mon, 11 May 2020 08:07:41 +0300 Subject: [PATCH 05/17] Update README.md Update README.md to include Docker-compose example and available Docker Parameters. --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 6e281fe..373ed7b 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,36 @@ docker run --publish 8888:5000 --detach --name whooglesearch whooglesearch:1.0 And kill with: `docker rm --force whooglesearch` +#### Docker-Compose + +```bash +version: "3" +services: + whoogle-search: + container_name: whoogle-search + hostname: whoogle-search + image: "benbusby/whoogle-search" + restart: always + ports: + - "5000:5000" + environment: + - PUID=1000 + - PGID=1000 + - TZ=Europe/London + - WEB_PORT=5000 #optional default 5000 +``` + +#### Docker Parameters + +Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `:` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container. + +| Parameter | Function | +| :----: | --- | +| `-e PUID=1000` | for UserID | +| `-e PGID=1000` | for GroupID | +| `-e TZ=Europe/London` | Specify a timezone to use | +| `-e WEB_PORT=5000` | set the server port to expose, default to 5000, **optional** | + #### Using [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli) ```bash heroku login From c2acfe0479b8ed15f87d1469be594e1e6a1c30b1 Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Mon, 11 May 2020 08:42:52 +0300 Subject: [PATCH 06/17] Update 30-config Not Needed --- root/etc/cont-init.d/30-config | 3 --- 1 file changed, 3 deletions(-) diff --git a/root/etc/cont-init.d/30-config b/root/etc/cont-init.d/30-config index fa91edd..b6c02e8 100644 --- a/root/etc/cont-init.d/30-config +++ b/root/etc/cont-init.d/30-config @@ -13,9 +13,6 @@ for i in "${VARS[@]}"; do fi done -export APP_ROOT=/app -export STATIC_FOLDER=/app/static - # permissions chown -R abc:abc \ /app From bde7003584a43c9002c70a89fc43d7deb03b3788 Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Mon, 11 May 2020 21:22:21 +0300 Subject: [PATCH 07/17] Update 30-config Remove {WEB_PORT} from variable validation because it optional and not required. --- root/etc/cont-init.d/30-config | 1 - 1 file changed, 1 deletion(-) diff --git a/root/etc/cont-init.d/30-config b/root/etc/cont-init.d/30-config index b6c02e8..9b0da35 100644 --- a/root/etc/cont-init.d/30-config +++ b/root/etc/cont-init.d/30-config @@ -3,7 +3,6 @@ # Env variable validation VARS=( \ TZ -WEB_PORT ) for i in "${VARS[@]}"; do From cdba75258705a8d9edac229be5c8df4077474aa0 Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Tue, 19 May 2020 03:32:37 +0000 Subject: [PATCH 08/17] Update Docker file fo the latest Changes - Remove unnecessary packages and reduce image size. - Add Enforce HTTPS option - Added Config Volume --- Dockerfile | 72 +++++++++++++++++++++++++++++------------------------- 1 file changed, 39 insertions(+), 33 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1165816..45b5478 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM lsiobase/python:3.11 +# set version release ARG WHOOGLESEARCH_RELEASE ARG BUILD_DATE=unspecified ARG VCS_REF=unspecified @@ -7,55 +8,60 @@ ARG VCS_REF=unspecified # set python to use utf-8 rather than ascii. ENV PYTHONIOENCODING="UTF-8" +# enforced https, default false +ARG use_https='' +ENV HTTPS_ONLY="$use_https" + LABEL org.label-schema.name="Whoogle Search" -LABEL org.label-schema.description="Self-hosted, ad-free, privacy-respecting alternative to Google search" +LABEL org.label-schema.description="Self-hosted, ad-free, privacy-respecting Google metasearch engine" LABEL org.label-schema.vcs-url="https://github.com/benbusby/whoogle-search" -LABEL org.label-schema.build-date="${BUILD_DATE:-unspecified}" -LABEL org.label-schema.vcs-ref="${VCS_REF:-unspecified}" +LABEL org.label-schema.build-date="${BUILD_DATE}" +LABEL org.label-schema.vcs-ref="${VCS_REF}" RUN \ echo "**** install build packages ****" && \ - apk add --no-cache --upgrade \ - cmake \ - g++ \ - gcc \ - git \ - make \ - curl-dev \ - libressl-dev \ - libffi-dev \ - python3-dev && \ + apk add --no-cache --upgrade --virtual .build-dependencies \ + g++ \ + git \ + curl-dev \ + libressl-dev \ + libffi-dev \ + python3-dev && \ echo "**** install runtime packages ****" && \ apk add --no-cache --upgrade \ - curl \ - nano \ - py3-pip \ - py3-pylast \ - python3 \ - tar \ - wget && \ + curl \ + py3-pip \ + python3 \ + tar && \ echo "**** install app ****" && \ - mkdir -p /tmp/whooglesearch && \ + mkdir -p \ + /tmp/whooglesearch && \ if [ -z ${WHOOGLESEARCH_RELEASE+x} ]; then \ - WHOOGLESEARCH_RELEASE=$(curl -sX GET "https://api.github.com/repos/benbusby/whoogle-search/commits/master" \ - | awk '/sha/{print $4;exit}' FS='[""]'); \ + WHOOGLESEARCH_RELEASE=$(curl -sX GET "https://api.github.com/repos/benbusby/whoogle-search/commits/master" \ + | awk '/sha/{print $4;exit}' FS='[""]'); \ fi && \ curl -o \ - /tmp/whooglesearch.tar.gz -L \ - "https://github.com/benbusby/whoogle-search/archive/${WHOOGLESEARCH_RELEASE}.tar.gz" && \ - tar xf /tmp/whooglesearch.tar.gz -C \ - /tmp/whooglesearch --strip-components=1 && \ + /tmp/whooglesearch.tar.gz -L \ + "https://github.com/benbusby/whoogle-search/archive/${WHOOGLESEARCH_RELEASE}.tar.gz" && \ + tar xf \ + /tmp/whooglesearch.tar.gz -C \ + /tmp/whooglesearch --strip-components=1 && \ echo "**** install pip packages ****" && \ pip3 install --no-cache-dir -r \ - /tmp/whooglesearch/requirements.txt && \ - cp -r /tmp/whooglesearch/app / && \ - echo "**** Cleanup ****" && \ - rm -Rf /tmp/* + /tmp/whooglesearch/requirements.txt && \ + cp -r /tmp/whooglesearch/app / && \ + echo "**** clean up ****" && \ + apk del --purge \ + .build-dependencies && \ + rm -rf \ + /tmp/* + +# set config location +ENV CONFIG_VOLUME="/config" # add local files COPY root/ / -WORKDIR /app - # ports and volumes EXPOSE 5000 +VOLUME /config From 9876d3ae3f1a5b100f1a73a94123eb35b0f397d1 Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Tue, 19 May 2020 03:35:45 +0000 Subject: [PATCH 09/17] Create Dockerfile for arm64v8 architecture --- Dockerfile.aarch64 | 67 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Dockerfile.aarch64 diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 new file mode 100644 index 0000000..1d689f2 --- /dev/null +++ b/Dockerfile.aarch64 @@ -0,0 +1,67 @@ +FROM lsiobase/python:arm64v8-3.11 + +# set version release +ARG WHOOGLESEARCH_RELEASE +ARG BUILD_DATE=unspecified +ARG VCS_REF=unspecified + +# set python to use utf-8 rather than ascii. +ENV PYTHONIOENCODING="UTF-8" + +# enforced https, default false +ARG use_https='' +ENV HTTPS_ONLY="$use_https" + +LABEL org.label-schema.name="Whoogle Search" +LABEL org.label-schema.description="Self-hosted, ad-free, privacy-respecting Google metasearch engine" +LABEL org.label-schema.vcs-url="https://github.com/benbusby/whoogle-search" +LABEL org.label-schema.build-date="${BUILD_DATE}" +LABEL org.label-schema.vcs-ref="${VCS_REF}" + +RUN \ + echo "**** install build packages ****" && \ + apk add --no-cache --upgrade --virtual .build-dependencies \ + g++ \ + git \ + curl-dev \ + libressl-dev \ + libffi-dev \ + python3-dev && \ + echo "**** install runtime packages ****" && \ + apk add --no-cache --upgrade \ + curl \ + py3-pip \ + python3 \ + tar && \ + echo "**** install app ****" && \ + mkdir -p \ + /tmp/whooglesearch && \ + if [ -z ${WHOOGLESEARCH_RELEASE+x} ]; then \ + WHOOGLESEARCH_RELEASE=$(curl -sX GET "https://api.github.com/repos/benbusby/whoogle-search/commits/master" \ + | awk '/sha/{print $4;exit}' FS='[""]'); \ + fi && \ + curl -o \ + /tmp/whooglesearch.tar.gz -L \ + "https://github.com/benbusby/whoogle-search/archive/${WHOOGLESEARCH_RELEASE}.tar.gz" && \ + tar xf \ + /tmp/whooglesearch.tar.gz -C \ + /tmp/whooglesearch --strip-components=1 && \ + echo "**** install pip packages ****" && \ + pip3 install --no-cache-dir -r \ + /tmp/whooglesearch/requirements.txt && \ + cp -r /tmp/whooglesearch/app / && \ + echo "**** clean up ****" && \ + apk del --purge \ + .build-dependencies && \ + rm -rf \ + /tmp/* + +# set config location +ENV CONFIG_VOLUME="/config" + +# add local files +COPY root/ / + +# ports and volumes +EXPOSE 5000 +VOLUME /config From 9ed1dee05e5a3b6e5d3310c5adc4956fa012ae08 Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Tue, 19 May 2020 03:36:52 +0000 Subject: [PATCH 10/17] Create Dockerfile for arm32v7 architecture --- Dockerfile.armhf | 67 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Dockerfile.armhf diff --git a/Dockerfile.armhf b/Dockerfile.armhf new file mode 100644 index 0000000..d0c4da7 --- /dev/null +++ b/Dockerfile.armhf @@ -0,0 +1,67 @@ +FROM lsiobase/python:arm32v7-3.11 + +# set version release +ARG WHOOGLESEARCH_RELEASE +ARG BUILD_DATE=unspecified +ARG VCS_REF=unspecified + +# set python to use utf-8 rather than ascii. +ENV PYTHONIOENCODING="UTF-8" + +# enforced https, default false +ARG use_https='' +ENV HTTPS_ONLY="$use_https" + +LABEL org.label-schema.name="Whoogle Search" +LABEL org.label-schema.description="Self-hosted, ad-free, privacy-respecting Google metasearch engine" +LABEL org.label-schema.vcs-url="https://github.com/benbusby/whoogle-search" +LABEL org.label-schema.build-date="${BUILD_DATE}" +LABEL org.label-schema.vcs-ref="${VCS_REF}" + +RUN \ + echo "**** install build packages ****" && \ + apk add --no-cache --upgrade --virtual .build-dependencies \ + g++ \ + git \ + curl-dev \ + libressl-dev \ + libffi-dev \ + python3-dev && \ + echo "**** install runtime packages ****" && \ + apk add --no-cache --upgrade \ + curl \ + py3-pip \ + python3 \ + tar && \ + echo "**** install app ****" && \ + mkdir -p \ + /tmp/whooglesearch && \ + if [ -z ${WHOOGLESEARCH_RELEASE+x} ]; then \ + WHOOGLESEARCH_RELEASE=$(curl -sX GET "https://api.github.com/repos/benbusby/whoogle-search/commits/master" \ + | awk '/sha/{print $4;exit}' FS='[""]'); \ + fi && \ + curl -o \ + /tmp/whooglesearch.tar.gz -L \ + "https://github.com/benbusby/whoogle-search/archive/${WHOOGLESEARCH_RELEASE}.tar.gz" && \ + tar xf \ + /tmp/whooglesearch.tar.gz -C \ + /tmp/whooglesearch --strip-components=1 && \ + echo "**** install pip packages ****" && \ + pip3 install --no-cache-dir -r \ + /tmp/whooglesearch/requirements.txt && \ + cp -r /tmp/whooglesearch/app / && \ + echo "**** clean up ****" && \ + apk del --purge \ + .build-dependencies && \ + rm -rf \ + /tmp/* + +# set config location +ENV CONFIG_VOLUME="/config" + +# add local files +COPY root/ / + +# ports and volumes +EXPOSE 5000 +VOLUME /config From 958b16eccf9f8677933e660cd8fcf76c4cc38ec6 Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Tue, 19 May 2020 03:42:37 +0000 Subject: [PATCH 11/17] Update run file to Waitress server to update with the recent changes from the project: - Change Flask server with waitress server - Added Basic user Authentication option - Added server Address option --- root/etc/services.d/whooglesearch/run | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/root/etc/services.d/whooglesearch/run b/root/etc/services.d/whooglesearch/run index bdfa07a..59b5aa8 100644 --- a/root/etc/services.d/whooglesearch/run +++ b/root/etc/services.d/whooglesearch/run @@ -1,8 +1,19 @@ #!/usr/bin/with-contenv bash -WEB_PORT=${WEB_PORT:-5000} +ADDRESS=${ADDRESS:-0.0.0.0} +EXPOSE_PORT=${EXPOSE_PORT:-5000} +USER=${USER} +PASSWORD=${PASSWORD} cd / -exec \ - s6-setuidgid abc flask run --host="0.0.0.0" --port="${WEB_PORT}" +# Create User Authentication if specified +if [ -z "${USER}" ] && [ -z "${PASSWORD}" ]; then + echo "No User and Password Will be set for Basic authentication" + exec \ + s6-setuidgid abc python3 -um app --host "${ADDRESS}" --port "${EXPOSE_PORT}" +else + echo "Setting Up Basic Authentication with Username="$USER" Password="$PASSWORD"" + exec \ + s6-setuidgid abc python3 -um app --host "${ADDRESS}" --port "${EXPOSE_PORT}" --userpass "$USER":"$PASSWORD" +fi From de7107843319386622fd2b81a2cfbbbc67ba519e Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Tue, 19 May 2020 03:45:26 +0000 Subject: [PATCH 12/17] Update 30-config - Remove variable validation. (not needed at the moment) - Create and Apply User permissions to Config folder --- root/etc/cont-init.d/30-config | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/root/etc/cont-init.d/30-config b/root/etc/cont-init.d/30-config index 9b0da35..8fceb11 100644 --- a/root/etc/cont-init.d/30-config +++ b/root/etc/cont-init.d/30-config @@ -1,17 +1,11 @@ #!/usr/bin/with-contenv bash -# Env variable validation -VARS=( \ -TZ -) - -for i in "${VARS[@]}"; do - if [ -z ${!i+x} ]; then - echo "[cont-init.d] ${i} is required and is not set will not continue" - exit 0 - fi -done +# make needed folder +mkdir -p \ + /config/ # permissions chown -R abc:abc \ /app +chown -R abc:abc \ + /config From 924cf01b86df3c9338dc8523f5226a6df86dcfc3 Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Tue, 19 May 2020 03:49:02 +0000 Subject: [PATCH 13/17] Update docker-compose.yml - Added User And Password Variables - Changed Port Variable to better name --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e1a125a..ec1d538 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,4 +18,6 @@ services: - PUID=${PUID} # User uid - PGID=${PGID} # User gid - TZ=${TZ} # TimeZone - - WEB_PORT=5000 # Default port 5000 + - EXPOSE_PORT=5000 # Default port 5000 + - USER= # Optional + - PASSWORD= # Optional From e0ae48a41eb6818899e057623418f89397519d9c Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Tue, 19 May 2020 04:19:53 +0000 Subject: [PATCH 14/17] Added Config Volume Mount --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index ec1d538..9c9e1da 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,8 @@ services: restart: always ports: - "5000:5000" + volumes: + - path/to/config:/config environment: - PUID=${PUID} # User uid - PGID=${PGID} # User gid From 8eada6dcf95d183bb2672ad28677aab933e225a4 Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Fri, 5 Jun 2020 13:52:35 +0000 Subject: [PATCH 15/17] Update required dependencies. Adding Missing Packages libxml2-dev and libxslt-dev --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 45b5478..ffda04c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,8 @@ RUN \ git \ curl-dev \ libressl-dev \ + libxml2-dev \ + libxslt-dev \ libffi-dev \ python3-dev && \ echo "**** install runtime packages ****" && \ From 0b2aa870f3c8021db5bae790d100835295482675 Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Fri, 5 Jun 2020 13:53:17 +0000 Subject: [PATCH 16/17] Update required dependencies. Adding Missing Packages libxml2-dev and libxslt-dev --- Dockerfile.aarch64 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 1d689f2..f41fc61 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -25,6 +25,8 @@ RUN \ git \ curl-dev \ libressl-dev \ + libxml2-dev \ + libxslt-dev \ libffi-dev \ python3-dev && \ echo "**** install runtime packages ****" && \ From f20aae5579e2c47cd69573a899498119293e446d Mon Sep 17 00:00:00 2001 From: "Mohammed A.Q" <65144622+mohammedalqadi@users.noreply.github.com> Date: Fri, 5 Jun 2020 13:53:57 +0000 Subject: [PATCH 17/17] Update required dependencies. Adding Missing Packages libxml2-dev and libxslt-dev --- Dockerfile.armhf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile.armhf b/Dockerfile.armhf index d0c4da7..cb97390 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -25,6 +25,8 @@ RUN \ git \ curl-dev \ libressl-dev \ + libxml2-dev \ + libxslt-dev \ libffi-dev \ python3-dev && \ echo "**** install runtime packages ****" && \