Browse Source

added secrets config file

pull/1/head
Mar Alegre 4 years ago
parent
commit
938f4cf51f
  1. 12
      nextcloud/Containerfile
  2. 10
      nextcloud/data/secret.config.php

12
nextcloud/Containerfile

@ -109,8 +109,10 @@ RUN mkdir -p /vol/files && \
# copy nextcloud config # copy nextcloud config
COPY --chown=www-data:www-data assets/config/ nextcloud/config/ COPY --chown=www-data:www-data assets/config/ nextcloud/config/
# make link to host config # make link to host config & secret config
RUN ln -s /vol/data/host.config.php nextcloud/config/host.config.php RUN cd nextcloud/config && \
ln -s /vol/data/host.config.php && \
ln -s /vol/data/secret.config.php
### ###
### DB Auto Load/Dump ### DB Auto Load/Dump
@ -141,3 +143,9 @@ COPY assets/bugfix/apache2.override /etc/systemd/system/apache2.service.d/overri
# bugfix for cron # bugfix for cron
COPY assets/bugfix/cronfix /root/ COPY assets/bugfix/cronfix /root/
RUN chmod +x /root/cronfix && /root/cronfix RUN chmod +x /root/cronfix && /root/cronfix
###
### Workdir
###
WORKDIR /vol/data

10
nextcloud/data/secret.config.php

@ -0,0 +1,10 @@
<?php
$CONFIG = array(
/** After your first install, place the auto-generated values for these parameters here
and uncomment them, so that they persist across re-deploys. */
/**
'passwordsalt' => '',
'secret' => '',
'instanceid' => '',
*/
);
Loading…
Cancel
Save