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.
18 lines
730 B
18 lines
730 B
FROM nextcloud:24.0.5 |
|
WORKDIR /usr/src/nextcloud |
|
RUN chown -R www-data:www-data . |
|
USER www-data |
|
|
|
RUN ./occ maintenance:install --admin-pass admin --admin-email admin@example.com |
|
RUN ./occ app:disable password_policy |
|
RUN ./occ config:system:set allow_local_remote_servers --value=true |
|
RUN ./occ config:system:set trusted_domains 1 --value=10.0.2.2 |
|
|
|
RUN sed -i "s/localhost/host.docker.internal/" /usr/src/nextcloud/apps/notifications/lib/Controller/PushController.php |
|
ADD overlay /usr/src/nextcloud/ |
|
|
|
RUN OC_PASS="user1" ./occ user:add --password-from-env --display-name "User One" user1 |
|
RUN OC_PASS="user2" ./occ user:add --password-from-env --display-name "User Two" user2 |
|
|
|
RUN ./occ app:install news |
|
RUN ./occ app:install notes
|
|
|