Browse Source

updates to Nextcloud container

feature/startup-from-labels
Mar Alegre 5 years ago
parent
commit
8d2e1aa659
  1. 4
      src/nextcloud/Containerfile
  2. 1
      src/nextcloud/Systemdfile

4
src/nextcloud/Containerfile

@ -24,8 +24,8 @@ ENV DBNAME=nextcloud
# install packages we want
RUN apt update -y && apt install -y apache2 php-fpm php-gd php-zip \
php-pgsql php-curl php-mbstring php-intl php-imagick php-xml \
php-json redis php-redis postgresql postgresql-doc php-ldap
php-pgsql php-curl php-mbstring php-intl php-imagick php-xml php-gmp \
php-json redis php-redis postgresql postgresql-doc php-ldap php-bcmath
# put database variables in /etc/environment so anyone can access them

1
src/nextcloud/Systemdfile

@ -15,6 +15,7 @@ nc-occ maintenance:install --data-dir "/srv/nextcloud/data/" --database "pgsql"
# do post-installation steps
nc-occ maintenance:update:htaccess
nc-occ db:add-missing-indices
nc-occ db:add-missing-columns
nc-occ db:convert-filecache-bigint
# install extra apps we want

Loading…
Cancel
Save