mirror of
https://github.com/linuxserver/docker-diskover.git
synced 2026-02-20 04:57:50 +08:00
modified to support upcoming 2.3.0 release
This commit is contained in:
parent
0fc8259931
commit
4054776b6b
@ -11,6 +11,8 @@ LABEL maintainer="alex-phillips"
|
||||
|
||||
# environment settings
|
||||
ENV DISKOVERDIR=/config/diskover.conf.d/diskover/
|
||||
ENV DATABASE=/config/diskoverdb.sqlite3
|
||||
ENV ES_HOST=elasticsearch
|
||||
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
|
||||
@ -9,8 +9,5 @@ mkdir -p \
|
||||
if [[ ! -e "/config/diskoverdb.sqlite3" ]]; then
|
||||
touch /config/diskoverdb.sqlite3
|
||||
fi
|
||||
ln -sf /config/diskoverdb.sqlite3 /app/diskover-web/diskoverdb.sqlite3
|
||||
|
||||
ln -sf /config/diskover-web.conf.d/Constants.php /app/diskover-web/src/diskover/Constants.php
|
||||
|
||||
lsiown -R abc:abc /config
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user