Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAeon512 <aeon512@gmail.com>2018-02-15 23:54:34 +0300
committernachoparker <nacho@ownyourbits.com>2018-02-19 15:12:48 +0300
commita9a18097e6f7b9431e5e34044afe970456faeb39 (patch)
treee2ef54f76010af83b87717691c70bf4286a10403 /docker/nextcloudpi
parent648f53b88d2012e6489838cd898498def0e8f0b0 (diff)
random password provisioning on boot/startupv0.46.20
During bootup of a new docker image, the redis password might not match the nextcloud configuration. Hence, we automatically update the nextcloud configuration. For the MariaDB password the same method is applied. Additionaly identical files have been moved to docker-common to simplify changes in the future
Diffstat (limited to 'docker/nextcloudpi')
-rwxr-xr-xdocker/nextcloudpi/000ncp9
-rw-r--r--docker/nextcloudpi/Dockerfile2
2 files changed, 1 insertions, 10 deletions
diff --git a/docker/nextcloudpi/000ncp b/docker/nextcloudpi/000ncp
deleted file mode 100755
index f23f0183..00000000
--- a/docker/nextcloudpi/000ncp
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-source /usr/local/etc/library.sh
-
-# INIT NCP CONFIG (first run)
-persistent_cfg /usr/local/etc/nextcloudpi-config.d /data/ncp
-persistent_cfg /etc/services-enabled.d
-
-exit 0
diff --git a/docker/nextcloudpi/Dockerfile b/docker/nextcloudpi/Dockerfile
index 834669ed..a4662a1c 100644
--- a/docker/nextcloudpi/Dockerfile
+++ b/docker/nextcloudpi/Dockerfile
@@ -80,7 +80,7 @@ rm -rf /usr/share/doc/*; \
rm -f /var/log/alternatives.log /var/log/apt/*; \
rm /var/cache/debconf/*-old;
-COPY docker/nextcloudpi/000ncp /etc/services-enabled.d/
+COPY docker-common/nextcloudpi/000ncp /etc/services-enabled.d/
# 4443 - ncp-web
EXPOSE 80 443 4443