Skip to content

Commit

Permalink
Use separate app for #72
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Dec 14, 2023
1 parent f2fe0ec commit 77b3f4f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mfazones
3 changes: 3 additions & 0 deletions servers/sunet-nextcloud/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ RUN cd nextcloud-mfa-awareness && git config pull.rebase true && git pull
RUN ln -s nextcloud-mfa-awareness/mfachecker
RUN git clone --depth=1 https://github.com/pondersource/mfazones.git
RUN cd mfazones && git config pull.rebase true && git pull
RUN apt install -yq wget
RUN wget https://github.com/SUNET/nextcloud-stepupauth/releases/download/v0.2.0/stepupauth-0.2.0.tar.gz
RUN tar xzf stepupauth-0.2.0.tar.gz
WORKDIR /var/www/html
ADD ./init-*.sh ./
RUN chmod u+x init-*.sh
Expand Down
1 change: 1 addition & 0 deletions servers/sunet-nextcloud/init-nc2-gss-follower.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ php console.php app:enable mfachecker
php console.php app:enable files_accesscontrol
php console.php app:enable twofactor_totp
php console.php app:enable mfazones
php console.php app:enable stepupauth
echo Editing config
sed -i "8 i\ 2 => 'sunet-nc2'," config/config.php
sed -i "8 i\ 1 => 'mesh.pondersource.org'," config/config.php
Expand Down

0 comments on commit 77b3f4f

Please sign in to comment.