Commit Graph

22 Commits

Author SHA1 Message Date
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
Tilo Spannagel
72ef7897e6
Recommended opcache settings 2017-06-09 13:31:43 +02:00
Tilo Spannagel
749f25b93d
Don't overwrite themes 2017-05-23 21:12:06 +02:00
Tilo Spannagel
71199bd69a Merge pull request #65 from nextcloud/volume
Rework Updating
2017-04-24 20:58:41 +02:00
Docker Library Bot
6c9dd84424 Update to 11.0.3 2017-04-24 08:51:10 -07:00
Tilo Spannagel
d253cc1171
strong permissions 2017-04-19 19:29:51 +02:00
Tilo Spannagel
201d934bb6
more specific downgrade message 2017-04-19 09:17:59 +02:00
Tilo Spannagel
07a10828d6
disable the updater 2017-04-18 09:05:53 +02:00
Tilo Spannagel
fc384e6a7e
split app folder 2017-04-17 23:02:25 +02:00
Tilo Spannagel
ae5b15cca3
show disabled apps 2017-04-17 23:00:56 +02:00
Tilo Spannagel
87c651374e
run occ upgrade 2017-04-17 22:57:48 +02:00
Tilo Spannagel
055f5778e3
use rsync for upgrade 2017-04-17 22:53:39 +02:00
Tilo Spannagel
8f2bc6bec7
add version comparison 2017-04-17 22:49:53 +02:00
Tilo Spannagel
843d309ee6
Update to Version 9.0.57, 10.0.4 and 11.0.2 2017-03-03 17:35:07 +01:00
Tilo Spannagel
14c6743817
Update to redis version 3.1.1 2017-02-15 19:47:59 +01:00
Tilo Spannagel
31140a21fa
Update to APCu version 5.1.8 2017-02-15 19:25:51 +01:00
Tilo Spannagel
73065ada5f
Update to memcached version 3.0.2 2017-02-15 13:13:39 +01:00
Tilo Spannagel
fed8d8085b
Change mysql to mysqli 2017-02-15 09:41:11 +01:00
Tilo Spannagel
0ad90b9ce9
Update to PHP 7.1 2017-02-12 15:13:18 +01:00
pierreozoux
e8590ef1b7 updates to latest 2017-01-21 15:22:12 +00:00
Aleksa Sarai
3efc37c756
version: move to separate versions and variants
In order to match ownCloud's Docker images, we need to provide -apache
and -fpm variant images as well as maintaining version tags for older
images.

These scripts are improved versions of the ownCloud scripts[1] because
they also automatically generate the directories with each ./update.sh,
and also generate all aliases without needing human intervention.

[1]: https://github.com/docker-library/owncloud/blob/master/generate-stackbrew-library.sh

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2017-01-13 20:33:06 +11:00