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.
|
|
|
FROM nextcloud:24.0.5
|
|
|
|
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 --group admin "$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
|
|
|
|
ADD overlay /usr/src/nextcloud/
|