A framework for building convergent cross-platform Nextcloud clients using Flutter.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
636 B

FROM nextcloud:24.0.3
2 years ago
WORKDIR /usr/src/nextcloud
RUN chown -R www-data:www-data .
USER www-data
ARG username
ARG password
RUN ./occ maintenance:install --admin-user admin --admin-pass "$password" --admin-email admin@example.com
RUN OC_PASS="$password" ./occ user:add --password-from-env "$username"
RUN ./occ app:install news
RUN ./occ app:install notes
RUN ./occ config:system:set trusted_domains 1 --value=10.0.2.2
RUN ./occ config:system:set allow_local_remote_servers --value=true
RUN sed -i "s/localhost/host.docker.internal/" /usr/src/nextcloud/apps/notifications/lib/Controller/PushController.php
2 years ago
ADD overlay /usr/src/nextcloud/