image nextcloud
This commit is contained in:
parent
ec2d60f56e
commit
bf09b8540b
|
@ -7,4 +7,5 @@ MYSQL_USER=${MARIADB_USER}
|
||||||
MYSQL_PASSWORD=${MARIADB_PASSWORD}
|
MYSQL_PASSWORD=${MARIADB_PASSWORD}
|
||||||
NEXTCLOUD_ADMIN_USER=${ADMIN_USER}
|
NEXTCLOUD_ADMIN_USER=${ADMIN_USER}
|
||||||
NEXTCLOUD_ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
NEXTCLOUD_ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
||||||
|
NEXTCLOUD_ALIAS=/
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
FROM docker.io/library/nextcloud
|
||||||
|
|
||||||
|
COPY apache.conf /etc/apache2/sites-available/nextcloud.conf
|
||||||
|
RUN a2ensite nextcoud
|
|
@ -0,0 +1 @@
|
||||||
|
Alias /nextcloud /var/www/html
|
|
@ -0,0 +1,8 @@
|
||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
nextcloud:
|
||||||
|
build:
|
||||||
|
context: ./containers/nextcloud
|
||||||
|
image: reg.cadoles.com/envole/nextcloud
|
||||||
|
container_name: nextcloud
|
|
@ -11,8 +11,10 @@ run_as() {
|
||||||
echo
|
echo
|
||||||
echo "== INSTALLATION APP NEXTCLOUD ================================================"
|
echo "== INSTALLATION APP NEXTCLOUD ================================================"
|
||||||
|
|
||||||
echo "==TRUSTED DOMAINE"
|
echo "== CONFIG"
|
||||||
run_as 'php occ config:system:set trusted_domains 1 --value '${WEB_URL}
|
run_as 'php occ config:system:set trusted_domains 1 --value '${WEB_URL}
|
||||||
|
run_as 'php occ config:system:set overwrite.cli.url --value '${NEXTCLOUD_URL}
|
||||||
|
#run_as 'php occ config:system:set htaccess.RewriteBase --value '${NEXTCLOUD_ALIAS}
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "== CALENDAR"
|
echo "== CALENDAR"
|
||||||
|
@ -56,7 +58,7 @@ run_as 'php occ app:install files_mindmap'
|
||||||
run_as 'php occ app:update files_mindmap'
|
run_as 'php occ app:update files_mindmap'
|
||||||
run_as 'php occ app:enable files_mindmap'
|
run_as 'php occ app:enable files_mindmap'
|
||||||
|
|
||||||
if [[ "${MODE_AUTH}" == "CAS" && "CAS_ACTIVATE" == "1" ]]
|
if [[ "${MODE_AUTH}" == "CAS" && "${CAS_ACTIVATE}" == "1" ]]
|
||||||
then
|
then
|
||||||
echo
|
echo
|
||||||
echo "== USER CAS"
|
echo "== USER CAS"
|
||||||
|
|
Loading…
Reference in New Issue