Commit Graph

133 Commits

Author SHA1 Message Date
Tilo Spannagel 6a7a09903f
Remove end of life version 10.0 2017-08-27 11:01:20 +02:00
Tilo Spannagel 261f545fab Merge pull request #131 from tobru/dir_permissions
update directory permissions to be compatible with non-root
2017-08-26 16:26:16 +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 6ba1dc2c4d Merge pull request #142 from nextcloud/svg-logo
Switch to svg logo
2017-08-10 18:53:06 +02:00
Tilo Spannagel 57f45baaa8
Switch to svg logo 2017-08-10 18:49:26 +02:00
Tilo Spannagel 57b5e03f2a
Add logo.svg 2017-08-10 18:45:31 +02:00
Tilo Spannagel 7e50b222af Merge pull request #138 from nextcloud/redis-3.1.3
Update redis to version 3.1.3
2017-08-07 17:47:07 +02:00
Tilo Spannagel 444cd43edf
Update redis to version 3.1.3 2017-08-07 16:39:35 +02:00
Tilo Spannagel 15cc747f57 Merge pull request #137 from nextcloud/travis-only-master
Travis: Only build the master branch
2017-08-07 16:32:18 +02:00
Tilo Spannagel e49ef8ca64
Only build the master branch 2017-08-07 16:27:15 +02:00
Docker Library Bot a3bb5798c8 Update to 11.0.4 2017-08-07 09:52:10 +00:00
Docker Library Bot e714562be9 Update to 10.0.6 2017-08-07 09:52:10 +00:00
Docker Library Bot a01d47ed83 Update to 12.0.1 2017-08-07 09:52:10 +00:00
Tilo Spannagel d4d21963b5 Merge pull request #132 from t3easy/patch-1
Fix path to themes folder in the README
2017-07-19 11:58:27 +02:00
Jan Kiesewetter 2cd9beb623 Fix path to themes folder in the README 2017-07-19 09:34:20 +02:00
Tilo Spannagel 9ebc7e6045 Merge pull request #128 from nextcloud/pcntl
Add pcntl
2017-07-14 14:25:12 +02:00
Tilo Spannagel 59da82a5b2
Add pcntl 2017-07-13 18:33:39 +02:00
Tilo Spannagel e43855e3e1 Merge pull request #124 from Chewie/example_xframe_options
Example: remove X-Frame-Options from nginx.conf
2017-07-06 13:30:56 +02:00
Kévin Sztern aaf0f21306 Example: remove X-Frame-Options from nginx.conf 2017-07-05 21:48:14 +02:00
Tilo Spannagel 46f75cc0da Merge pull request #122 from nextcloud/arch-arm32v5
Add the arm32v5 architecture
2017-07-03 23:33:46 +02:00
Tilo Spannagel 315e2a7aef
Add the arm32v5 architecture 2017-07-03 20:02:28 +02:00
Tilo Spannagel 9e05789182 Merge pull request #121 from nextcloud/enable-apcu
Enable APCu
2017-07-03 13:39:11 +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 ec85bdaf20 Merge pull request #120 from simon04/patch-1
docs: Add hint for using the nextcloud Console
2017-07-01 12:32:38 +02:00
Tilo Spannagel abd27936d3 Add docker-compose occ example 2017-07-01 09:46:50 +02:00
Simon Legner a08a16c37e docs: Add hint for using the ownCloud Console 2017-06-30 22:52:19 +02:00
Tilo Spannagel 58b8d16719 Merge pull request #113 from nextcloud/multi-arch
Add multi arch support
2017-06-29 18:40:05 +02:00
Tilo Spannagel 0bd790309e
Use debMultiarch as libdir 2017-06-29 16:29:52 +02:00
Tilo Spannagel 820f21cdf2
Add travis tests for i386 2017-06-29 16:29:52 +02:00
Tilo Spannagel 7d4e0960b4
Add multi arch support 2017-06-29 16:29:47 +02:00
Tilo Spannagel 034ea8be5a Merge pull request #119 from tilosp-docker/fix-upgrading
Ensure apps.config.php get only copied when upgrading from old version
2017-06-29 16:26:44 +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
Marc Brückner 0061b638cc Merge pull request #118 from vfreex/fix-115
Ensure config/apps.config.php get copied
2017-06-29 08:37:58 +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 d1dd0fb007 Merge pull request #117 from tilosp-docker/memcached-3.0.3
Update memcached to version 3.0.3
2017-06-28 14:27:02 +02:00
Tilo Spannagel 72425854ac
Update memcached to version 3.0.3 2017-06-28 14:08:05 +02:00
Tilo Spannagel ba45637af1 Merge pull request #116 from tilosp-docker/redis-3.1.2
Update redis to version 3.1.2
2017-06-28 14:01:41 +02:00
Tilo Spannagel e144ba4787
Update redis to version 3.1.2 2017-06-28 13:36:10 +02:00
Tilo Spannagel 16a36a4f9a Merge pull request #115 from vfreex/fix-subdir-copy
Copy config, data, custom_apps, and themes to volume when empty
2017-06-28 13:20:28 +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
Marc Brückner af7965154e Merge pull request #112 from jakommo/jakommo-fpm-example-1
Update README.md to use nextcloud:fpm image in FPM example
2017-06-25 15:55:13 +02:00
Jakob Reiter 6addbfaeb8 Update README.md
Fixed FPM example docker-compose to actually use nextcloud:fpm image instead of the default apache one
2017-06-25 13:10:28 +02:00
Tilo Spannagel a0ad7ac1c7 Merge pull request #111 from tilosp-docker/travis-build-stages
Use travis build stages
2017-06-23 21:32:20 +02:00
Tilo Spannagel e5d81338d9
Use travis build stages 2017-06-23 18:59:00 +02:00
Tilo Spannagel 2ed2ea4a28 Merge pull request #110 from tilosp-docker/nextcloud-9-cleanup
Nextcloud 9 cleanup
2017-06-21 18:05:47 +02:00