Verified Commit ef80e02b authored by Marco Marinello's avatar Marco Marinello
Browse files

Theming

parent e9f83043
...@@ -37,6 +37,7 @@ services: ...@@ -37,6 +37,7 @@ services:
NEXTCLOUD_TABLE_PREFIX: nc NEXTCLOUD_TABLE_PREFIX: nc
NEXTCLOUD_TRUSTED_DOMAINS: ${NC_DOMAIN:-nc.local} NEXTCLOUD_TRUSTED_DOMAINS: ${NC_DOMAIN:-nc.local}
ACME_SERVER: ${ACME_SERVER} ACME_SERVER: ${ACME_SERVER}
INSTITUTE_NAME: ${INSTITUTE_NAME:-dati sicuri per una scuola digitalmente sostenibile}
depends_on: depends_on:
- postgres - postgres
......
...@@ -10,6 +10,7 @@ RUN apt update ...@@ -10,6 +10,7 @@ RUN apt update
RUN apt full-upgrade -qy RUN apt full-upgrade -qy
RUN apt install -qy ca-certificates certbot python3-certbot-apache cron smbclient wget RUN apt install -qy ca-certificates certbot python3-certbot-apache cron smbclient wget
COPY logo.png /var/www
COPY configure-fuss.sh / COPY configure-fuss.sh /
COPY crontab /etc COPY crontab /etc
......
...@@ -46,6 +46,11 @@ fi ...@@ -46,6 +46,11 @@ fi
run_as 'php /var/www/html/occ app:enable user_ldap' run_as 'php /var/www/html/occ app:enable user_ldap'
run_as 'php /var/www/html/occ app:enable files_external' run_as 'php /var/www/html/occ app:enable files_external'
run_as 'php /var/www/html/occ background:cron' run_as 'php /var/www/html/occ background:cron'
run_as 'php /var/www/html/occ config:app:set theming name --value "FUSS Remote Access"'
run_as 'php /var/www/html/occ config:app:set theming slogan --value "${INSTITUTE_NAME}"'
run_as 'php /var/www/html/occ config:app:set theming color --value "#996400"'
run_as 'cp /var/www/logo.png /var/www/html/core/img/logo/logo.svg'
run_as 'php /var/www/html/occ maintenance:theme:update'
/usr/sbin/cron /usr/sbin/cron
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment