image nextcloud
This commit is contained in:
parent
ec2d60f56e
commit
bf09b8540b
1
src/envole-1.0/env/.env.zapp.nextcloud
vendored
1
src/envole-1.0/env/.env.zapp.nextcloud
vendored
@ -7,4 +7,5 @@ MYSQL_USER=${MARIADB_USER}
|
||||
MYSQL_PASSWORD=${MARIADB_PASSWORD}
|
||||
NEXTCLOUD_ADMIN_USER=${ADMIN_USER}
|
||||
NEXTCLOUD_ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
||||
NEXTCLOUD_ALIAS=/
|
||||
|
||||
|
4
src/envole-1.0/misc/nextcloud/containers/nextcloud/Dockerfile
Executable file
4
src/envole-1.0/misc/nextcloud/containers/nextcloud/Dockerfile
Executable file
@ -0,0 +1,4 @@
|
||||
FROM docker.io/library/nextcloud
|
||||
|
||||
COPY apache.conf /etc/apache2/sites-available/nextcloud.conf
|
||||
RUN a2ensite nextcoud
|
1
src/envole-1.0/misc/nextcloud/containers/nextcloud/apache.conf
Executable file
1
src/envole-1.0/misc/nextcloud/containers/nextcloud/apache.conf
Executable file
@ -0,0 +1 @@
|
||||
Alias /nextcloud /var/www/html
|
8
src/envole-1.0/misc/nextcloud/docker-compose.yml
Executable file
8
src/envole-1.0/misc/nextcloud/docker-compose.yml
Executable file
@ -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 "== 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 overwrite.cli.url --value '${NEXTCLOUD_URL}
|
||||
#run_as 'php occ config:system:set htaccess.RewriteBase --value '${NEXTCLOUD_ALIAS}
|
||||
|
||||
echo
|
||||
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:enable files_mindmap'
|
||||
|
||||
if [[ "${MODE_AUTH}" == "CAS" && "CAS_ACTIVATE" == "1" ]]
|
||||
if [[ "${MODE_AUTH}" == "CAS" && "${CAS_ACTIVATE}" == "1" ]]
|
||||
then
|
||||
echo
|
||||
echo "== USER CAS"
|
||||
|
Loading…
Reference in New Issue
Block a user