Tobias Brunner
6ed3dfe556
directory permissions for root group
9 years ago
Tilo Spannagel
69b4a015ed
Fix permissions when running as root
9 years ago
Tilo Spannagel
7366057ce1
Move COPY back down
9 years ago
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
9 years ago
Docker Library Bot
2220249a20
Update to 12.0.2
9 years ago
Tilo Spannagel
6ba1dc2c4d
Merge pull request #142 from nextcloud/svg-logo
...
Switch to svg logo
9 years ago
Tilo Spannagel
57f45baaa8
Switch to svg logo
9 years ago
Tilo Spannagel
57b5e03f2a
Add logo.svg
9 years ago
Tilo Spannagel
7e50b222af
Merge pull request #138 from nextcloud/redis-3.1.3
...
Update redis to version 3.1.3
9 years ago
Tilo Spannagel
444cd43edf
Update redis to version 3.1.3
9 years ago
Tilo Spannagel
15cc747f57
Merge pull request #137 from nextcloud/travis-only-master
...
Travis: Only build the master branch
9 years ago
Tilo Spannagel
e49ef8ca64
Only build the master branch
9 years ago
Docker Library Bot
a3bb5798c8
Update to 11.0.4
9 years ago
Docker Library Bot
e714562be9
Update to 10.0.6
9 years ago
Docker Library Bot
a01d47ed83
Update to 12.0.1
9 years ago
Tilo Spannagel
d4d21963b5
Merge pull request #132 from t3easy/patch-1
...
Fix path to themes folder in the README
9 years ago
Jan Kiesewetter
2cd9beb623
Fix path to themes folder in the README
9 years ago
Tilo Spannagel
9ebc7e6045
Merge pull request #128 from nextcloud/pcntl
...
Add pcntl
9 years ago
Tilo Spannagel
59da82a5b2
Add pcntl
9 years ago
Tilo Spannagel
e43855e3e1
Merge pull request #124 from Chewie/example_xframe_options
...
Example: remove X-Frame-Options from nginx.conf
9 years ago
Kévin Sztern
aaf0f21306
Example: remove X-Frame-Options from nginx.conf
10 years ago
Tilo Spannagel
46f75cc0da
Merge pull request #122 from nextcloud/arch-arm32v5
...
Add the arm32v5 architecture
10 years ago
Tilo Spannagel
315e2a7aef
Add the arm32v5 architecture
10 years ago
Tilo Spannagel
9e05789182
Merge pull request #121 from nextcloud/enable-apcu
...
Enable APCu
10 years ago
Tilo Spannagel
f4309b27dc
Add apcu.config.php
10 years ago
Tilo Spannagel
40212aaa24
Move apps.config.php into config dir
10 years ago
Tilo Spannagel
ec85bdaf20
Merge pull request #120 from simon04/patch-1
...
docs: Add hint for using the nextcloud Console
10 years ago
Tilo Spannagel
abd27936d3
Add docker-compose occ example
10 years ago
Simon Legner
a08a16c37e
docs: Add hint for using the ownCloud Console
10 years ago
Tilo Spannagel
58b8d16719
Merge pull request #113 from nextcloud/multi-arch
...
Add multi arch support
10 years ago
Tilo Spannagel
0bd790309e
Use debMultiarch as libdir
10 years ago
Tilo Spannagel
820f21cdf2
Add travis tests for i386
10 years ago
Tilo Spannagel
7d4e0960b4
Add multi arch support
10 years ago
Tilo Spannagel
034ea8be5a
Merge pull request #119 from tilosp-docker/fix-upgrading
...
Ensure apps.config.php get only copied when upgrading from old version
10 years ago
Tilo Spannagel
4d0972ed35
Ensure apps.config.php get only copied when upgrading from old version
10 years ago
Marc Brückner
0061b638cc
Merge pull request #118 from vfreex/fix-115
...
Ensure config/apps.config.php get copied
10 years ago
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.
10 years ago
Tilo Spannagel
d1dd0fb007
Merge pull request #117 from tilosp-docker/memcached-3.0.3
...
Update memcached to version 3.0.3
10 years ago
Tilo Spannagel
72425854ac
Update memcached to version 3.0.3
10 years ago
Tilo Spannagel
ba45637af1
Merge pull request #116 from tilosp-docker/redis-3.1.2
...
Update redis to version 3.1.2
10 years ago
Tilo Spannagel
e144ba4787
Update redis to version 3.1.2
10 years ago
Tilo Spannagel
16a36a4f9a
Merge pull request #115 from vfreex/fix-subdir-copy
...
Copy config, data, custom_apps, and themes to volume when empty
10 years ago
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.
10 years ago
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
10 years ago
Jakob Reiter
6addbfaeb8
Update README.md
...
Fixed FPM example docker-compose to actually use nextcloud:fpm image instead of the default apache one
10 years ago
Tilo Spannagel
a0ad7ac1c7
Merge pull request #111 from tilosp-docker/travis-build-stages
...
Use travis build stages
10 years ago
Tilo Spannagel
e5d81338d9
Use travis build stages
10 years ago
Tilo Spannagel
2ed2ea4a28
Merge pull request #110 from tilosp-docker/nextcloud-9-cleanup
...
Nextcloud 9 cleanup
10 years ago
Tilo Spannagel
ebda756330
Nextcloud 9 cleanup
10 years ago
Tilo Spannagel
2cfcc267fa
Merge pull request #106 from tilosp-docker/fix-typos
...
Fix Typos
10 years ago