Commit Graph

52 Commits

Author SHA1 Message Date
Loic Dachary
e01caa961f apache: set the remote ip from X-Real-IP by default (#297) 2018-04-01 11:37:04 +02:00
Loic Dachary
18db7e679f
Dockerfile: redirect the contributor to update.sh
The `*/*/Dockerfile` are created from `Docker*template` by the
update.sh script. We add a comment at the beginning of the file with
information to find their origin. We also make them readonly to remind
people who would like to improve these files that they are not meant
to be modified.
2018-03-31 12:05:46 +02:00
Tilo Spannagel
07e61395c6
Run update.sh 2018-03-15 17:41:36 +01:00
Docker Library Bot
77557b92e4 Update to 12.0.6 2018-03-15 09:51:15 +00:00
Tilo Spannagel
a3250b89d1
Run update.sh 2018-03-13 11:16:01 +01:00
Rodrigo Aguilera
5714672aa6 Give ownership for www-data to /var/www 2018-03-10 17:32:26 +01:00
Tilo Spannagel
33bc471dbc
Update APCu to version 5.1.11 2018-03-08 09:41:24 +01:00
Tilo Spannagel
923f8c434d
Remove the root cron file 2018-02-28 21:13:12 +01:00
Tilo Spannagel
7739cef929
Adjust the debian images 2018-02-27 20:41:11 +01:00
Tilo Spannagel
e61317d318
Setup cron 2018-02-27 19:01:59 +01:00
Tilo Spannagel
c4788d0867
Add cron.sh to alpine 2018-02-27 18:05:24 +01:00
J0WI
8bdcf4b011 Backport #265 2018-02-22 18:11:35 +01:00
J0WI
bf2dc98496 Add pcre-dev to build-deps 2018-02-22 18:07:57 +01:00
J0WI
22de97f206 Add Alpine variant 2018-02-22 18:07:57 +01:00
Tilo Spannagel
013a71ac9b
Update APCu to version 5.1.10 2018-02-17 20:38:54 +01:00
Tilo Spannagel
81f1412a1f
Add freetype to gd 2018-02-07 10:34:06 +01:00
Tilo Spannagel
423e017e3b
Fix cron config 2018-01-30 17:49:10 +01:00
Tilo Spannagel
3747025dd6
Add cron.sh 2018-01-30 13:11:04 +01:00
Tilo Spannagel
74c68d908b
Add cron config 2018-01-30 13:02:14 +01:00
Tilo Spannagel
9d461d79de
Add busybox-static 2018-01-29 10:32:12 +01:00
Docker Library Bot
26d58913be Update to 12.0.5 2018-01-24 10:51:07 +00:00
Tilo Spannagel
ec85464109
Remove build deps automatically 2018-01-04 23:31:58 +01:00
Tilo Spannagel
02fa7776a1
Merge pull request #214 from nextcloud/APCu-5.1.9
Update APCu to version 5.1.9
2018-01-03 15:50:18 +01:00
Tilo Spannagel
3de42336ac
Update APCu to version 5.1.9 2018-01-03 15:26:53 +01:00
Tilo Spannagel
d99ae52b19
Update redis to version 3.1.6 2018-01-03 15:21:51 +01:00
Tilo Spannagel
2a4cbc594f
Update redis to version 3.1.5 2017-12-22 13:08:07 +01:00
Docker Library Bot
0319dd0a84 Update to 12.0.4 2017-12-04 10:52:04 +00:00
Tilo Spannagel
90f83fe0bb
Update memcached to version 3.0.4 2017-11-21 18:07:29 +01:00
Tilo Spannagel
57edb879dc
Update redis to version 3.1.4 2017-09-27 13:03:27 +02:00
Docker Library Bot
8ad5dbd5f3 Update to 12.0.3 2017-09-20 15:51:08 +00:00
Tilo Spannagel
fd0cc806c8
Pretty URLs for apache 2017-09-14 10:23:46 +02:00
Tilo Spannagel
d87b840646
Add data directory default 2017-08-29 11:54:54 +02:00
Tilo Spannagel
ea347ffbca
Add NEXTCLOUD_ADMIN_USER and NEXTCLOUD_ADMIN_PASSWORD 2017-08-29 10:58:20 +02:00
Tilo Spannagel
8a61625cd3
Add autoconfig.php 2017-08-29 01:07:09 +02:00
Tobias Brunner
6ed3dfe556
directory permissions for root group 2017-08-14 19:05:30 +02:00
Tilo Spannagel
69b4a015ed
Fix permissions when running as root 2017-08-14 19:05:30 +02:00
Tilo Spannagel
7366057ce1
Move COPY back down 2017-08-14 19:05:30 +02:00
Tobias Brunner
bd3fc10d7d
update directory permissions to be compatible with non-root
This commit updates the directory permissions to be more compatible when
running the image without root f.e. on OpenShift or when specifying it
when running with `docker run --user www-data:root ...`.
It adds detection logic to the entrypoint script as sudo is not always
allowed.

This change in directory permissions was also proposed by the official
documentation, see https://github.com/nextcloud/documentation/commit/22e2530.

The `chown` before the volume definition is needed to prepare the volume
as it inherits the permissions.

refs https://github.com/nextcloud/docker/issues/107
2017-08-14 19:05:25 +02:00
Docker Library Bot
2220249a20 Update to 12.0.2 2017-08-14 15:51:08 +00:00
Tilo Spannagel
444cd43edf
Update redis to version 3.1.3 2017-08-07 16:39:35 +02:00
Docker Library Bot
a01d47ed83 Update to 12.0.1 2017-08-07 09:52:10 +00:00
Tilo Spannagel
59da82a5b2
Add pcntl 2017-07-13 18:33:39 +02:00
Tilo Spannagel
f4309b27dc
Add apcu.config.php 2017-07-01 15:06:05 +02:00
Tilo Spannagel
40212aaa24
Move apps.config.php into config dir 2017-07-01 14:39:23 +02:00
Tilo Spannagel
0bd790309e
Use debMultiarch as libdir 2017-06-29 16:29:52 +02:00
Tilo Spannagel
4d0972ed35
Ensure apps.config.php get only copied when upgrading from old version 2017-06-29 16:00:46 +02:00
Yuxiang Zhu
f47f9f9c99 Ensure config/apps.config.php get copied
PR #115 breaks the logic that config/apps.config.php get copied
after custom_apps: https://github.com/nextcloud/docker/pull/115#discussion_r124702790.

This patch is going to copy that file if it doesn't exist.
2017-06-29 11:36:15 +08:00
Tilo Spannagel
72425854ac
Update memcached to version 3.0.3 2017-06-28 14:08:05 +02:00
Tilo Spannagel
e144ba4787
Update redis to version 3.1.2 2017-06-28 13:36:10 +02:00
Yuxiang Zhu
8e8f33ef46 Copy config, data, custom_apps, and themes to volume when empty
When Nextcloud performs an upgrade or clean installation,
it will check whether /var/www/html/{config,data,custom_apps,themes} exist.
If not, it will copy
/usr/src/nextcloud/{config,data,custom_apps,themes} to /var/www/html.

This leads to a problem: If those subdirectories are existent but
empty, it will not do the copy. This situation is common when you mount
volumes to those subdirectories, like:

```
version: "2.1"
services:
    app:
        image: nextcloud:12-apache
        volumes:
            - nextcloud:/var/www/html:Z
            - nextcloud-custom_apps:/var/www/html/custom_apps:Z
            - nextcloud-config:/var/www/html/config:Z
            - nextcloud-data:/var/www/html/data:Z
            - nextcloud-themes:/var/www/html/themes:Z
        ports:
            - 8080:80/tcp
    db:
        image: mariadb
        volumes:
            - db:/var/lib/mysql:Z
        environment:
            MYSQL_USER: nextcloud
            MYSQL_DATABASE: nextcloud
            MYSQL_PASSWORD: nextcloud
            MYSQL_ROOT_PASSWORD: nextcloud

volumes:
    nextcloud:
    nextcloud-custom_apps:
    nextcloud-config:
    nextcloud-data:
    nextcloud-themes:
    db:
```

This patch will fix this issue by copying to those subdirectories when they
are empty.
2017-06-28 14:59:24 +08:00