mirror of
https://github.com/linuxserver/docker-nextcloud.git
synced 2026-06-03 09:57:35 +00:00
Compare commits
43 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4daf2f54dd | |||
| bf206a4c26 | |||
| bb7cbcfe72 | |||
| 202e32064d | |||
| c3983dec02 | |||
| 1adaea2f52 | |||
| 98170c8111 | |||
| 07de53ca04 | |||
| 01507c3b7d | |||
| 77bab20e9d | |||
| 9c2d8f63dc | |||
| 7cd1ec4148 | |||
| af5c1e1fd1 | |||
| 9e640c2446 | |||
| 2a8328ae40 | |||
| 99d9fc85b4 | |||
| 317756d873 | |||
| 171c14cc43 | |||
| 1a81e84750 | |||
| d256ac620b | |||
| a092bb7f65 | |||
| 25f011ff6d | |||
| 0d9395c2f9 | |||
| 4898350304 | |||
| f083694bba | |||
| 70ebff1fe9 | |||
| 20d71208f4 | |||
| 3e90fa1dcf | |||
| db1ac46d19 | |||
| 975196656e | |||
| 30303f4e15 | |||
| 50307befe0 | |||
| 3bc14e5333 | |||
| 83e49cad23 | |||
| 54cc5c1bc3 | |||
| 37ff294391 | |||
| 394134dd14 | |||
| 97b4894d3c | |||
| 4cacb750b8 | |||
| 0987871498 | |||
| c4fda7d279 | |||
| 4dad41f325 | |||
| 87efd94e66 |
Executable
+13
@@ -0,0 +1,13 @@
|
||||
name: Greetings
|
||||
|
||||
on: [pull_request_target, issues]
|
||||
|
||||
jobs:
|
||||
greeting:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [issue template](https://github.com/linuxserver/docker-nextcloud/.github/ISSUE_TEMPLATE.md)!'
|
||||
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-nextcloud/.github/PULL_REQUEST_TEMPLATE.md)!'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
Executable
+23
@@ -0,0 +1,23 @@
|
||||
name: Mark stale issues and pull requests
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "30 1 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v1
|
||||
with:
|
||||
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
|
||||
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
|
||||
stale-issue-label: 'no-issue-activity'
|
||||
stale-pr-label: 'no-pr-activity'
|
||||
days-before-stale: 30
|
||||
days-before-close: 365
|
||||
exempt-issue-labels: 'awaiting-approval,work-in-progress'
|
||||
exempt-pr-labels: 'awaiting-approval,work-in-progress'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
+3
-1
@@ -1,4 +1,4 @@
|
||||
FROM lsiobase/nginx:3.11
|
||||
FROM lsiobase/nginx:3.12
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@@ -30,11 +30,13 @@ RUN \
|
||||
imagemagick \
|
||||
libxml2 \
|
||||
php7-apcu \
|
||||
php7-bcmath \
|
||||
php7-bz2 \
|
||||
php7-ctype \
|
||||
php7-curl \
|
||||
php7-dom \
|
||||
php7-exif \
|
||||
php7-fileinfo \
|
||||
php7-ftp \
|
||||
php7-gd \
|
||||
php7-gmp \
|
||||
|
||||
+3
-1
@@ -1,4 +1,4 @@
|
||||
FROM lsiobase/nginx:arm64v8-3.11
|
||||
FROM lsiobase/nginx:arm64v8-3.12
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@@ -30,11 +30,13 @@ RUN \
|
||||
imagemagick \
|
||||
libxml2 \
|
||||
php7-apcu \
|
||||
php7-bcmath \
|
||||
php7-bz2 \
|
||||
php7-ctype \
|
||||
php7-curl \
|
||||
php7-dom \
|
||||
php7-exif \
|
||||
php7-fileinfo \
|
||||
php7-ftp \
|
||||
php7-gd \
|
||||
php7-gmp \
|
||||
|
||||
+3
-1
@@ -1,4 +1,4 @@
|
||||
FROM lsiobase/nginx:arm32v7-3.11
|
||||
FROM lsiobase/nginx:arm32v7-3.12
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@@ -30,11 +30,13 @@ RUN \
|
||||
imagemagick \
|
||||
libxml2 \
|
||||
php7-apcu \
|
||||
php7-bcmath \
|
||||
php7-bz2 \
|
||||
php7-ctype \
|
||||
php7-curl \
|
||||
php7-dom \
|
||||
php7-exif \
|
||||
php7-fileinfo \
|
||||
php7-ftp \
|
||||
php7-gd \
|
||||
php7-gmp \
|
||||
|
||||
Vendored
+26
-39
@@ -55,7 +55,7 @@ pipeline {
|
||||
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT
|
||||
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/'
|
||||
env.PULL_REQUEST = env.CHANGE_ID
|
||||
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE.md ./.github/PULL_REQUEST_TEMPLATE.md'
|
||||
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE.md ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/greetings.yml ./.github/workflows/stale.yml'
|
||||
}
|
||||
script{
|
||||
env.LS_RELEASE_NUMBER = sh(
|
||||
@@ -128,7 +128,6 @@ pipeline {
|
||||
steps {
|
||||
script{
|
||||
env.IMAGE = env.DOCKERHUB_IMAGE
|
||||
env.QUAYIMAGE = 'quay.io/linuxserver.io/' + env.CONTAINER_NAME
|
||||
env.GITHUBIMAGE = 'docker.pkg.github.com/' + env.LS_USER + '/' + env.LS_REPO + '/' + env.CONTAINER_NAME
|
||||
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/' + env.CONTAINER_NAME
|
||||
if (env.MULTIARCH == 'true') {
|
||||
@@ -149,7 +148,6 @@ pipeline {
|
||||
steps {
|
||||
script{
|
||||
env.IMAGE = env.DEV_DOCKERHUB_IMAGE
|
||||
env.QUAYIMAGE = 'quay.io/linuxserver.io/lsiodev-' + env.CONTAINER_NAME
|
||||
env.GITHUBIMAGE = 'docker.pkg.github.com/' + env.LS_USER + '/' + env.LS_REPO + '/lsiodev-' + env.CONTAINER_NAME
|
||||
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/lsiodev-' + env.CONTAINER_NAME
|
||||
if (env.MULTIARCH == 'true') {
|
||||
@@ -170,7 +168,6 @@ pipeline {
|
||||
steps {
|
||||
script{
|
||||
env.IMAGE = env.PR_DOCKERHUB_IMAGE
|
||||
env.QUAYIMAGE = 'quay.io/linuxserver.io/lspipepr-' + env.CONTAINER_NAME
|
||||
env.GITHUBIMAGE = 'docker.pkg.github.com/' + env.LS_USER + '/' + env.LS_REPO + '/lspipepr-' + env.CONTAINER_NAME
|
||||
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/lspipepr-' + env.CONTAINER_NAME
|
||||
if (env.MULTIARCH == 'true') {
|
||||
@@ -237,7 +234,7 @@ pipeline {
|
||||
cd ${TEMPDIR}/repo/${LS_REPO}
|
||||
git checkout -f master
|
||||
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
|
||||
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github
|
||||
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
|
||||
cp --parents ${TEMPLATED_FILES} ${TEMPDIR}/repo/${LS_REPO}/
|
||||
cd ${TEMPDIR}/repo/${LS_REPO}/
|
||||
git add ${TEMPLATED_FILES}
|
||||
@@ -535,22 +532,15 @@ pipeline {
|
||||
credentialsId: '3f9ba4d5-100d-45b0-a3c4-633fd6061207',
|
||||
usernameVariable: 'DOCKERUSER',
|
||||
passwordVariable: 'DOCKERPASS'
|
||||
],
|
||||
[
|
||||
$class: 'UsernamePasswordMultiBinding',
|
||||
credentialsId: 'Quay.io-Robot',
|
||||
usernameVariable: 'QUAYUSER',
|
||||
passwordVariable: 'QUAYPASS'
|
||||
]
|
||||
]) {
|
||||
retry(5) {
|
||||
sh '''#! /bin/bash
|
||||
set -e
|
||||
echo $QUAYPASS | docker login quay.io -u $QUAYUSER --password-stdin
|
||||
echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
|
||||
echo $GITHUB_TOKEN | docker login docker.pkg.github.com -u LinuxServer-CI --password-stdin
|
||||
echo $GITLAB_TOKEN | docker login registry.gitlab.com -u LinuxServer.io --password-stdin
|
||||
for PUSHIMAGE in "${QUAYIMAGE}" "${GITHUBIMAGE}" "${GITLABIMAGE}" "${IMAGE}"; do
|
||||
for PUSHIMAGE in "${GITHUBIMAGE}" "${GITLABIMAGE}" "${IMAGE}"; do
|
||||
docker tag ${IMAGE}:${META_TAG} ${PUSHIMAGE}:${META_TAG}
|
||||
docker tag ${PUSHIMAGE}:${META_TAG} ${PUSHIMAGE}:latest
|
||||
docker push ${PUSHIMAGE}:latest
|
||||
@@ -559,7 +549,7 @@ pipeline {
|
||||
'''
|
||||
}
|
||||
sh '''#! /bin/bash
|
||||
for DELETEIMAGE in "${QUAYIMAGE}" "${GITHUBIMAGE}" "{GITLABIMAGE}" "${IMAGE}"; do
|
||||
for DELETEIMAGE in "${GITHUBIMAGE}" "{GITLABIMAGE}" "${IMAGE}"; do
|
||||
docker rmi \
|
||||
${DELETEIMAGE}:${META_TAG} \
|
||||
${DELETEIMAGE}:latest || :
|
||||
@@ -581,18 +571,11 @@ pipeline {
|
||||
credentialsId: '3f9ba4d5-100d-45b0-a3c4-633fd6061207',
|
||||
usernameVariable: 'DOCKERUSER',
|
||||
passwordVariable: 'DOCKERPASS'
|
||||
],
|
||||
[
|
||||
$class: 'UsernamePasswordMultiBinding',
|
||||
credentialsId: 'Quay.io-Robot',
|
||||
usernameVariable: 'QUAYUSER',
|
||||
passwordVariable: 'QUAYPASS'
|
||||
]
|
||||
]) {
|
||||
retry(5) {
|
||||
sh '''#! /bin/bash
|
||||
set -e
|
||||
echo $QUAYPASS | docker login quay.io -u $QUAYUSER --password-stdin
|
||||
echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
|
||||
echo $GITHUB_TOKEN | docker login docker.pkg.github.com -u LinuxServer-CI --password-stdin
|
||||
echo $GITLAB_TOKEN | docker login registry.gitlab.com -u LinuxServer.io --password-stdin
|
||||
@@ -626,26 +609,24 @@ pipeline {
|
||||
docker manifest push --purge ${MANIFESTIMAGE}:latest
|
||||
docker manifest push --purge ${MANIFESTIMAGE}:${META_TAG}
|
||||
done
|
||||
for LEGACYIMAGE in "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
|
||||
docker tag ${IMAGE}:amd64-${META_TAG} ${LEGACYIMAGE}:amd64-${META_TAG}
|
||||
docker tag ${IMAGE}:arm32v7-${META_TAG} ${LEGACYIMAGE}:arm32v7-${META_TAG}
|
||||
docker tag ${IMAGE}:arm64v8-${META_TAG} ${LEGACYIMAGE}:arm64v8-${META_TAG}
|
||||
docker tag ${LEGACYIMAGE}:amd64-${META_TAG} ${LEGACYIMAGE}:latest
|
||||
docker tag ${LEGACYIMAGE}:amd64-${META_TAG} ${LEGACYIMAGE}:${META_TAG}
|
||||
docker tag ${LEGACYIMAGE}:arm32v7-${META_TAG} ${LEGACYIMAGE}:arm32v7-latest
|
||||
docker tag ${LEGACYIMAGE}:arm64v8-${META_TAG} ${LEGACYIMAGE}:arm64v8-latest
|
||||
docker push ${LEGACYIMAGE}:amd64-${META_TAG}
|
||||
docker push ${LEGACYIMAGE}:arm32v7-${META_TAG}
|
||||
docker push ${LEGACYIMAGE}:arm64v8-${META_TAG}
|
||||
docker push ${LEGACYIMAGE}:latest
|
||||
docker push ${LEGACYIMAGE}:${META_TAG}
|
||||
docker push ${LEGACYIMAGE}:arm32v7-latest
|
||||
docker push ${LEGACYIMAGE}:arm64v8-latest
|
||||
done
|
||||
docker tag ${IMAGE}:amd64-${META_TAG} ${GITHUBIMAGE}:amd64-${META_TAG}
|
||||
docker tag ${IMAGE}:arm32v7-${META_TAG} ${GITHUBIMAGE}:arm32v7-${META_TAG}
|
||||
docker tag ${IMAGE}:arm64v8-${META_TAG} ${GITHUBIMAGE}:arm64v8-${META_TAG}
|
||||
docker tag ${GITHUBIMAGE}:amd64-${META_TAG} ${GITHUBIMAGE}:latest
|
||||
docker tag ${GITHUBIMAGE}:amd64-${META_TAG} ${GITHUBIMAGE}:${META_TAG}
|
||||
docker tag ${GITHUBIMAGE}:arm32v7-${META_TAG} ${GITHUBIMAGE}:arm32v7-latest
|
||||
docker tag ${GITHUBIMAGE}:arm64v8-${META_TAG} ${GITHUBIMAGE}:arm64v8-latest
|
||||
docker push ${GITHUBIMAGE}:amd64-${META_TAG}
|
||||
docker push ${GITHUBIMAGE}:arm32v7-${META_TAG}
|
||||
docker push ${GITHUBIMAGE}:arm64v8-${META_TAG}
|
||||
docker push ${GITHUBIMAGE}:latest
|
||||
docker push ${GITHUBIMAGE}:${META_TAG}
|
||||
docker push ${GITHUBIMAGE}:arm32v7-latest
|
||||
docker push ${GITHUBIMAGE}:arm64v8-latest
|
||||
'''
|
||||
}
|
||||
sh '''#! /bin/bash
|
||||
for DELETEIMAGE in "${QUAYIMAGE}" "${GITHUBIMAGE}" "${GITLABIMAGE}" "${IMAGE}"; do
|
||||
for DELETEIMAGE in "${GITHUBIMAGE}" "${GITLABIMAGE}" "${IMAGE}"; do
|
||||
docker rmi \
|
||||
${DELETEIMAGE}:amd64-${META_TAG} \
|
||||
${DELETEIMAGE}:amd64-latest \
|
||||
@@ -707,6 +688,10 @@ pipeline {
|
||||
]
|
||||
]) {
|
||||
sh '''#! /bin/bash
|
||||
set -e
|
||||
TEMPDIR=$(mktemp -d)
|
||||
docker pull linuxserver/jenkins-builder:latest
|
||||
docker run --rm -e CONTAINER_NAME=${CONTAINER_NAME} -e GITHUB_BRANCH=master -v ${TEMPDIR}:/ansible/jenkins linuxserver/jenkins-builder:latest
|
||||
docker pull lsiodev/readme-sync
|
||||
docker run --rm=true \
|
||||
-e DOCKERHUB_USERNAME=$DOCKERUSER \
|
||||
@@ -714,7 +699,9 @@ pipeline {
|
||||
-e GIT_REPOSITORY=${LS_USER}/${LS_REPO} \
|
||||
-e DOCKER_REPOSITORY=${IMAGE} \
|
||||
-e GIT_BRANCH=master \
|
||||
lsiodev/readme-sync bash -c 'node sync' '''
|
||||
-v ${TEMPDIR}/docker-${CONTAINER_NAME}:/mnt \
|
||||
lsiodev/readme-sync bash -c 'node sync'
|
||||
rm -Rf ${TEMPDIR} '''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
[](https://linuxserver.io)
|
||||
|
||||
[](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!")
|
||||
[](https://discord.gg/YWrKVTn "realtime support / chat with the community and the team.")
|
||||
[](https://discourse.linuxserver.io "post on our community forum.")
|
||||
[](https://fleet.linuxserver.io "an online web interface which displays all of our maintained images.")
|
||||
[](https://github.com/linuxserver "view the source for all of our repositories.")
|
||||
[](https://opencollective.com/linuxserver "please consider helping us by either donating or contributing to our budget")
|
||||
[](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!")
|
||||
[](https://discord.gg/YWrKVTn "realtime support / chat with the community and the team.")
|
||||
[](https://discourse.linuxserver.io "post on our community forum.")
|
||||
[](https://fleet.linuxserver.io "an online web interface which displays all of our maintained images.")
|
||||
[](https://github.com/linuxserver "view the source for all of our repositories.")
|
||||
[](https://opencollective.com/linuxserver "please consider helping us by either donating or contributing to our budget")
|
||||
|
||||
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:
|
||||
|
||||
@@ -25,16 +25,15 @@ Find us at:
|
||||
|
||||
# [linuxserver/nextcloud](https://github.com/linuxserver/docker-nextcloud)
|
||||
|
||||
[](https://github.com/linuxserver/docker-nextcloud)
|
||||
[](https://github.com/linuxserver/docker-nextcloud/releases)
|
||||
[](https://github.com/linuxserver/docker-nextcloud/packages)
|
||||
[](https://gitlab.com/Linuxserver.io/docker-nextcloud/container_registry)
|
||||
[](https://quay.io/repository/linuxserver.io/nextcloud)
|
||||
[](https://microbadger.com/images/linuxserver/nextcloud "Get your own version badge on microbadger.com")
|
||||
[](https://hub.docker.com/r/linuxserver/nextcloud)
|
||||
[](https://hub.docker.com/r/linuxserver/nextcloud)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-nextcloud/job/master/)
|
||||
[](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/nextcloud/latest/index.html)
|
||||
[](https://github.com/linuxserver/docker-nextcloud)
|
||||
[](https://github.com/linuxserver/docker-nextcloud/releases)
|
||||
[](https://github.com/linuxserver/docker-nextcloud/packages)
|
||||
[](https://gitlab.com/Linuxserver.io/docker-nextcloud/container_registry)
|
||||
[](https://microbadger.com/images/linuxserver/nextcloud "Get your own version badge on microbadger.com")
|
||||
[](https://hub.docker.com/r/linuxserver/nextcloud)
|
||||
[](https://hub.docker.com/r/linuxserver/nextcloud)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-nextcloud/job/master/)
|
||||
[](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/nextcloud/latest/index.html)
|
||||
|
||||
[Nextcloud](https://nextcloud.com/) gives you access to all your files wherever you are.
|
||||
|
||||
@@ -116,7 +115,7 @@ Container images are configured using parameters passed at runtime (such as thos
|
||||
|
||||
## Environment variables from files (Docker secrets)
|
||||
|
||||
You can set any environment variable from a file by using a special prepend `FILE__`.
|
||||
You can set any environment variable from a file by using a special prepend `FILE__`.
|
||||
|
||||
As an example:
|
||||
|
||||
@@ -126,6 +125,11 @@ As an example:
|
||||
|
||||
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
|
||||
|
||||
## Umask for running applications
|
||||
|
||||
For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional `-e UMASK=022` setting.
|
||||
Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up [here](https://en.wikipedia.org/wiki/Umask) before asking for support.
|
||||
|
||||
## User / Group Identifiers
|
||||
|
||||
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
|
||||
@@ -145,7 +149,15 @@ In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as bel
|
||||
|
||||
Access the webui at `https://<your-ip>:443`, for more information check out [Nextcloud](https://nextcloud.com/).
|
||||
|
||||
In order to update nextcloud version, first make sure you are using the latest docker image, and then perform the in app gui update. Docker image update and recreation of container alone won't update nextcloud version.
|
||||
Docker image update and recreation of container alone won't update nextcloud version.
|
||||
|
||||
In order to update nextcloud version, you have two options, firstly make sure you are using the latest docker image,then either
|
||||
|
||||
1. Perform the in app gui update.
|
||||
2. Use the CLI version by running `docker exec -it nextcloud updater.phar`
|
||||
(Both of these are described [here](https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html))
|
||||
|
||||
Note: Both `occ` and `updater.phar` can be run without prepending with `sudo -u abc php` or `sudo -u www-data php`
|
||||
|
||||
If you are not customizing our default nginx configuration you will need to remove the file:
|
||||
```
|
||||
@@ -155,7 +167,7 @@ Then restart the container to replace it with the latest one.
|
||||
|
||||
|
||||
## Docker Mods
|
||||
[](https://mods.linuxserver.io/?mod=nextcloud "view available mods for this container.")
|
||||
[](https://mods.linuxserver.io/?mod=nextcloud "view available mods for this container.")
|
||||
|
||||
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) can be accessed via the dynamic badge above.
|
||||
|
||||
@@ -224,6 +236,10 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **12.08.20:** - Various updates to default site config, including added support for webfinger (existing users should delete `/config/nginx/site-confs/default` and restart the container).
|
||||
* **03.06.20:** - Rebasing to alpine 3.12
|
||||
* **03.06.20:** - Add php7-bcmath and php7-fileinfo
|
||||
* **31.05.20:** - Add aliases for occ and updater.phar
|
||||
* **31.03.20:** - Allow crontab to be user customized, fix logrotate.
|
||||
* **17.01.20:** - Updated php.ini defaults and site config, including an optional HSTS directive (existing users should delete `/config/nginx/site-confs/default` and restart the container).
|
||||
* **19.12.19:** - Rebasing to alpine 3.11.
|
||||
|
||||
+154
-150
@@ -1,201 +1,205 @@
|
||||
alpine-baselayout-3.2.0-r3
|
||||
alpine-keys-2.1-r2
|
||||
alsa-lib-1.2.1.2-r0
|
||||
apache2-utils-2.4.43-r0
|
||||
apk-tools-2.10.5-r0
|
||||
alpine-baselayout-3.2.0-r7
|
||||
alpine-keys-2.2-r0
|
||||
alsa-lib-1.2.2-r0
|
||||
aom-libs-1.0.0-r1
|
||||
apache2-utils-2.4.46-r0
|
||||
apk-tools-2.10.5-r1
|
||||
apr-1.7.0-r0
|
||||
apr-util-1.6.1-r6
|
||||
argon2-libs-20190702-r1
|
||||
avahi-libs-0.7-r4
|
||||
bash-5.0.11-r1
|
||||
busybox-1.31.1-r9
|
||||
avahi-libs-0.8-r0
|
||||
bash-5.0.17-r0
|
||||
brotli-libs-1.0.7-r5
|
||||
busybox-1.31.1-r19
|
||||
c-client-2007f-r11
|
||||
ca-certificates-20191127-r1
|
||||
ca-certificates-cacert-20191127-r1
|
||||
ca-certificates-20191127-r4
|
||||
ca-certificates-bundle-20191127-r4
|
||||
cairo-1.16.0-r2
|
||||
coreutils-8.31-r0
|
||||
cups-libs-2.2.12-r1
|
||||
curl-7.67.0-r0
|
||||
cairo-gobject-1.16.0-r2
|
||||
coreutils-8.32-r0
|
||||
cups-libs-2.3.3-r0
|
||||
curl-7.69.1-r0
|
||||
db-5.3.28-r1
|
||||
dbus-libs-1.12.16-r2
|
||||
dbus-libs-1.12.18-r0
|
||||
expat-2.2.9-r1
|
||||
ffmpeg-4.2.1-r3
|
||||
ffmpeg-libs-4.2.1-r3
|
||||
ffmpeg-4.3.1-r0
|
||||
ffmpeg-libs-4.3.1-r0
|
||||
fontconfig-2.13.1-r2
|
||||
freetype-2.10.1-r0
|
||||
fribidi-1.0.8-r0
|
||||
gdk-pixbuf-2.40.0-r0
|
||||
ghostscript-9.50-r0
|
||||
git-2.24.3-r0
|
||||
glib-2.62.6-r0
|
||||
gmp-6.1.2-r1
|
||||
gnutls-3.6.10-r1
|
||||
graphite2-1.3.13-r1
|
||||
harfbuzz-2.6.4-r0
|
||||
icu-libs-64.2-r1
|
||||
imagemagick-7.0.9.7-r0
|
||||
imagemagick-libs-7.0.9.7-r0
|
||||
jansson-2.12-r0
|
||||
jbig2dec-0.17-r0
|
||||
freetype-2.10.2-r0
|
||||
fribidi-1.0.9-r0
|
||||
gdk-pixbuf-2.40.0-r2
|
||||
ghostscript-9.52-r0
|
||||
git-2.26.2-r0
|
||||
glib-2.64.5-r0
|
||||
gmp-6.2.0-r0
|
||||
gnutls-3.6.15-r0
|
||||
graphite2-1.3.14-r0
|
||||
harfbuzz-2.6.6-r0
|
||||
icu-libs-67.1-r0
|
||||
imagemagick-7.0.10.25-r0
|
||||
imagemagick-libs-7.0.10.25-r0
|
||||
jansson-2.13.1-r0
|
||||
jbig2dec-0.18-r0
|
||||
lame-3.100-r0
|
||||
lcms2-2.9-r1
|
||||
ldb-2.0.8-r0
|
||||
ldb-2.1.4-r0
|
||||
libacl-2.2.53-r0
|
||||
libarchive-3.4.2-r0
|
||||
libarchive-3.4.3-r0
|
||||
libass-0.14.0-r0
|
||||
libattr-2.4.48-r0
|
||||
libblkid-2.34-r1
|
||||
libblkid-2.35.2-r0
|
||||
libbsd-0.10.0-r0
|
||||
libbz2-1.0.8-r1
|
||||
libc-utils-0.7.2-r0
|
||||
libc-utils-0.7.2-r3
|
||||
libcap-2.27-r0
|
||||
libcroco-0.6.13-r1
|
||||
libcrypto1.1-1.1.1g-r0
|
||||
libcurl-7.67.0-r0
|
||||
libde265-1.0.3-r0
|
||||
libdrm-2.4.100-r0
|
||||
libedit-20191211.3.1-r0
|
||||
libffi-3.2.1-r6
|
||||
libgcc-9.2.0-r4
|
||||
libheif-1.6.0-r0
|
||||
libcurl-7.69.1-r0
|
||||
libdav1d-0.7.0-r0
|
||||
libde265-1.0.4-r0
|
||||
libdrm-2.4.102-r0
|
||||
libedit-20191231.3.1-r0
|
||||
libffi-3.3-r2
|
||||
libgcc-9.3.0-r2
|
||||
libheif-1.6.2-r1
|
||||
libice-1.0.10-r0
|
||||
libintl-0.20.1-r2
|
||||
libjpeg-turbo-2.0.4-r0
|
||||
libldap-2.4.48-r1
|
||||
libintl-0.20.2-r0
|
||||
libjpeg-turbo-2.0.5-r0
|
||||
libldap-2.4.50-r0
|
||||
libltdl-2.4.6-r7
|
||||
libmagic-5.37-r1
|
||||
libmcrypt-2.5.8-r7
|
||||
libmagic-5.38-r0
|
||||
libmcrypt-2.5.8-r8
|
||||
libmemcached-libs-1.0.18-r4
|
||||
libmount-2.34-r1
|
||||
libmount-2.35.2-r0
|
||||
libogg-1.3.4-r0
|
||||
libpciaccess-0.16-r0
|
||||
libpng-1.6.37-r1
|
||||
libpq-12.2-r0
|
||||
libressl3.0-libcrypto-3.0.2-r0
|
||||
libressl3.0-libssl-3.0.2-r0
|
||||
librsvg-2.46.4-r0
|
||||
libsasl-2.1.27-r5
|
||||
libpq-12.4-r0
|
||||
libproc-3.3.16-r0
|
||||
libressl3.1-libcrypto-3.1.2-r0
|
||||
libressl3.1-libssl-3.1.2-r0
|
||||
librsvg-2.48.8-r0
|
||||
libsasl-2.1.27-r6
|
||||
libsm-1.2.3-r0
|
||||
libsmbclient-4.11.5-r0
|
||||
libsmbclient-4.12.6-r0
|
||||
libsodium-1.0.18-r0
|
||||
libssh-0.9.4-r0
|
||||
libssl1.1-1.1.1g-r0
|
||||
libstdc++-9.2.0-r4
|
||||
libtasn1-4.15.0-r0
|
||||
libstdc++-9.3.0-r2
|
||||
libtasn1-4.16.0-r1
|
||||
libtheora-1.1.1-r14
|
||||
libtls-standalone-2.9.1-r0
|
||||
libtls-standalone-2.9.1-r1
|
||||
libunistring-0.9.10-r0
|
||||
libuuid-2.34-r1
|
||||
libva-2.6.0-r0
|
||||
libvdpau-1.3-r0
|
||||
libuuid-2.35.2-r0
|
||||
libva-2.7.1-r0
|
||||
libvdpau-1.4-r0
|
||||
libvorbis-1.3.6-r2
|
||||
libvpx-1.8.1-r0
|
||||
libwbclient-4.11.5-r0
|
||||
libwebp-1.0.3-r0
|
||||
libx11-1.6.9-r0
|
||||
libvpx-1.8.2-r0
|
||||
libwbclient-4.12.6-r0
|
||||
libwebp-1.1.0-r0
|
||||
libx11-1.6.12-r0
|
||||
libxau-1.0.9-r0
|
||||
libxcb-1.13.1-r0
|
||||
libxcb-1.14-r1
|
||||
libxdmcp-1.1.3-r0
|
||||
libxext-1.3.4-r0
|
||||
libxfixes-5.0.3-r2
|
||||
libxft-2.3.3-r0
|
||||
libxml2-2.9.10-r2
|
||||
libxml2-2.9.10-r4
|
||||
libxpm-3.5.13-r0
|
||||
libxrender-0.9.10-r3
|
||||
libxt-1.2.0-r0
|
||||
libzip-1.5.2-r0
|
||||
linux-pam-1.3.1-r1
|
||||
lmdb-0.9.24-r1
|
||||
logrotate-3.15.1-r0
|
||||
libzip-1.6.1-r1
|
||||
linux-pam-1.3.1-r4
|
||||
lmdb-0.9.25-r1
|
||||
logrotate-3.16.0-r0
|
||||
lz4-libs-1.9.2-r0
|
||||
musl-1.1.24-r2
|
||||
musl-utils-1.1.24-r2
|
||||
nano-4.6-r0
|
||||
ncurses-libs-6.1_p20200118-r3
|
||||
ncurses-terminfo-base-6.1_p20200118-r3
|
||||
nettle-3.5.1-r0
|
||||
nghttp2-libs-1.40.0-r0
|
||||
nginx-1.16.1-r6
|
||||
musl-1.1.24-r9
|
||||
musl-utils-1.1.24-r9
|
||||
nano-4.9.3-r0
|
||||
ncurses-libs-6.2_p20200523-r0
|
||||
ncurses-terminfo-base-6.2_p20200523-r0
|
||||
nettle-3.5.1-r1
|
||||
nghttp2-libs-1.41.0-r0
|
||||
nginx-1.18.0-r0
|
||||
openssl-1.1.1g-r0
|
||||
opus-1.3.1-r0
|
||||
p11-kit-0.23.18.1-r0
|
||||
pango-1.44.7-r0
|
||||
pcre-8.43-r0
|
||||
pcre2-10.34-r1
|
||||
php7-7.3.17-r0
|
||||
php7-bz2-7.3.17-r0
|
||||
php7-common-7.3.17-r0
|
||||
php7-ctype-7.3.17-r0
|
||||
php7-curl-7.3.17-r0
|
||||
php7-dom-7.3.17-r0
|
||||
php7-exif-7.3.17-r0
|
||||
php7-fileinfo-7.3.17-r0
|
||||
php7-fpm-7.3.17-r0
|
||||
php7-ftp-7.3.17-r0
|
||||
php7-gd-7.3.17-r0
|
||||
php7-gmp-7.3.17-r0
|
||||
php7-iconv-7.3.17-r0
|
||||
php7-imap-7.3.17-r0
|
||||
php7-intl-7.3.17-r0
|
||||
php7-json-7.3.17-r0
|
||||
php7-ldap-7.3.17-r0
|
||||
php7-mbstring-7.3.17-r0
|
||||
php7-mysqlnd-7.3.17-r0
|
||||
php7-opcache-7.3.17-r0
|
||||
php7-openssl-7.3.17-r0
|
||||
php7-pcntl-7.3.17-r0
|
||||
php7-pdo-7.3.17-r0
|
||||
php7-pdo_mysql-7.3.17-r0
|
||||
php7-pdo_pgsql-7.3.17-r0
|
||||
php7-pdo_sqlite-7.3.17-r0
|
||||
p11-kit-0.23.20-r5
|
||||
pango-1.44.7-r2
|
||||
pcre-8.44-r0
|
||||
pcre2-10.35-r0
|
||||
php7-7.3.22-r0
|
||||
php7-bcmath-7.3.22-r0
|
||||
php7-bz2-7.3.22-r0
|
||||
php7-common-7.3.22-r0
|
||||
php7-ctype-7.3.22-r0
|
||||
php7-curl-7.3.22-r0
|
||||
php7-dom-7.3.22-r0
|
||||
php7-exif-7.3.22-r0
|
||||
php7-fileinfo-7.3.22-r0
|
||||
php7-fpm-7.3.22-r0
|
||||
php7-ftp-7.3.22-r0
|
||||
php7-gd-7.3.22-r0
|
||||
php7-gmp-7.3.22-r0
|
||||
php7-iconv-7.3.22-r0
|
||||
php7-imap-7.3.22-r0
|
||||
php7-intl-7.3.22-r0
|
||||
php7-json-7.3.22-r0
|
||||
php7-ldap-7.3.22-r0
|
||||
php7-mbstring-7.3.22-r0
|
||||
php7-mysqlnd-7.3.22-r0
|
||||
php7-opcache-7.3.22-r0
|
||||
php7-openssl-7.3.22-r0
|
||||
php7-pcntl-7.3.22-r0
|
||||
php7-pdo-7.3.22-r0
|
||||
php7-pdo_mysql-7.3.22-r0
|
||||
php7-pdo_pgsql-7.3.22-r0
|
||||
php7-pdo_sqlite-7.3.22-r0
|
||||
php7-pecl-apcu-5.1.18-r0
|
||||
php7-pecl-igbinary-3.0.1-r1
|
||||
php7-pecl-imagick-3.4.4-r2
|
||||
php7-pecl-igbinary-3.1.4-r0
|
||||
php7-pecl-imagick-3.4.4-r3
|
||||
php7-pecl-mcrypt-1.0.3-r0
|
||||
php7-pecl-memcached-3.1.5-r0
|
||||
php7-pecl-redis-5.1.1-r0
|
||||
php7-pgsql-7.3.17-r0
|
||||
php7-phar-7.3.17-r0
|
||||
php7-posix-7.3.17-r0
|
||||
php7-session-7.3.17-r0
|
||||
php7-simplexml-7.3.17-r0
|
||||
php7-sodium-7.3.17-r0
|
||||
php7-sqlite3-7.3.17-r0
|
||||
php7-xml-7.3.17-r0
|
||||
php7-xmlreader-7.3.17-r0
|
||||
php7-xmlwriter-7.3.17-r0
|
||||
php7-zip-7.3.17-r0
|
||||
pixman-0.38.4-r0
|
||||
pkgconf-1.6.3-r0
|
||||
php7-pecl-redis-5.2.2-r1
|
||||
php7-pgsql-7.3.22-r0
|
||||
php7-phar-7.3.22-r0
|
||||
php7-posix-7.3.22-r0
|
||||
php7-session-7.3.22-r0
|
||||
php7-simplexml-7.3.22-r0
|
||||
php7-sodium-7.3.22-r0
|
||||
php7-sqlite3-7.3.22-r0
|
||||
php7-xml-7.3.22-r0
|
||||
php7-xmlreader-7.3.22-r0
|
||||
php7-xmlwriter-7.3.22-r0
|
||||
php7-zip-7.3.22-r0
|
||||
pixman-0.40.0-r2
|
||||
pkgconf-1.7.2-r0
|
||||
popt-1.16-r7
|
||||
readline-8.0.1-r0
|
||||
samba-client-4.11.5-r0
|
||||
samba-client-libs-4.11.5-r0
|
||||
samba-common-4.11.5-r0
|
||||
samba-common-libs-4.11.5-r0
|
||||
samba-common-server-libs-4.11.5-r0
|
||||
samba-heimdal-libs-4.11.5-r0
|
||||
samba-libs-4.11.5-r0
|
||||
samba-server-libs-4.11.5-r0
|
||||
scanelf-1.2.4-r0
|
||||
sdl2-2.0.10-r0
|
||||
shadow-4.7-r1
|
||||
procps-3.3.16-r0
|
||||
readline-8.0.4-r0
|
||||
samba-client-4.12.6-r0
|
||||
samba-client-libs-4.12.6-r0
|
||||
samba-common-4.12.6-r0
|
||||
samba-libs-4.12.6-r0
|
||||
samba-util-libs-4.12.6-r0
|
||||
scanelf-1.2.6-r0
|
||||
sdl2-2.0.12-r1
|
||||
shadow-4.8.1-r0
|
||||
shared-mime-info-1.15-r0
|
||||
sqlite-libs-3.30.1-r1
|
||||
ssl_client-1.31.1-r9
|
||||
sudo-1.8.31-r0
|
||||
sqlite-libs-3.32.1-r0
|
||||
ssl_client-1.31.1-r19
|
||||
sudo-1.9.0-r0
|
||||
talloc-2.3.1-r0
|
||||
tar-1.32-r1
|
||||
tdb-libs-1.4.3-r0
|
||||
tevent-0.10.2-r0
|
||||
tiff-4.1.0-r0
|
||||
tzdata-2019c-r0
|
||||
unzip-6.0-r6
|
||||
v4l-utils-libs-1.18.0-r0
|
||||
wayland-libs-client-1.17.0-r0
|
||||
x264-libs-20191119-r0
|
||||
x265-libs-3.2.1-r0
|
||||
xvidcore-1.3.5-r0
|
||||
xz-5.2.4-r0
|
||||
xz-libs-5.2.4-r0
|
||||
tzdata-2020a-r0
|
||||
unzip-6.0-r7
|
||||
v4l-utils-libs-1.20.0-r0
|
||||
wayland-libs-client-1.18.0-r4
|
||||
x264-libs-20191119-r1
|
||||
x265-libs-3.3-r1
|
||||
xvidcore-1.3.7-r1
|
||||
xz-5.2.5-r0
|
||||
xz-libs-5.2.5-r0
|
||||
zlib-1.2.11-r3
|
||||
zstd-libs-1.4.4-r1
|
||||
zstd-libs-1.4.5-r0
|
||||
|
||||
+15
-1
@@ -50,7 +50,15 @@ app_setup_block_enabled: true
|
||||
app_setup_block: |
|
||||
Access the webui at `https://<your-ip>:443`, for more information check out [Nextcloud]({{ project_url }}).
|
||||
|
||||
In order to update nextcloud version, first make sure you are using the latest docker image, and then perform the in app gui update. Docker image update and recreation of container alone won't update nextcloud version.
|
||||
Docker image update and recreation of container alone won't update nextcloud version.
|
||||
|
||||
In order to update nextcloud version, you have two options, firstly make sure you are using the latest docker image,then either
|
||||
|
||||
1. Perform the in app gui update.
|
||||
2. Use the CLI version by running `docker exec -it nextcloud updater.phar`
|
||||
(Both of these are described [here](https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html))
|
||||
|
||||
Note: Both `occ` and `updater.phar` can be run without prepending with `sudo -u abc php` or `sudo -u www-data php`
|
||||
|
||||
If you are not customizing our default nginx configuration you will need to remove the file:
|
||||
```
|
||||
@@ -58,8 +66,14 @@ app_setup_block: |
|
||||
```
|
||||
Then restart the container to replace it with the latest one.
|
||||
|
||||
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "12.08.20:", desc: "Various updates to default site config, including added support for webfinger (existing users should delete `/config/nginx/site-confs/default` and restart the container)." }
|
||||
- { date: "03.06.20:", desc: "Rebasing to alpine 3.12" }
|
||||
- { date: "03.06.20:", desc: "Add php7-bcmath and php7-fileinfo" }
|
||||
- { date: "31.05.20:", desc: "Add aliases for occ and updater.phar" }
|
||||
- { date: "31.03.20:", desc: "Allow crontab to be user customized, fix logrotate." }
|
||||
- { date: "17.01.20:", desc: "Updated php.ini defaults and site config, including an optional HSTS directive (existing users should delete `/config/nginx/site-confs/default` and restart the container)." }
|
||||
- { date: "19.12.19:", desc: "Rebasing to alpine 3.11." }
|
||||
|
||||
+11
-2
@@ -48,6 +48,15 @@ server {
|
||||
location = /.well-known/caldav {
|
||||
return 301 $scheme://$host:$server_port/remote.php/dav;
|
||||
}
|
||||
location = /.well-known/webfinger {
|
||||
return 301 $scheme://$host:$server_port/public.php?service=webfinger;
|
||||
}
|
||||
location = /.well-known/host-meta {
|
||||
return 301 $scheme://$host:$server_port/public.php?service=host-meta;
|
||||
}
|
||||
location = /.well-known/host-meta.json {
|
||||
return 301 $scheme://$host:$server_port/public.php?service=host-meta-json;
|
||||
}
|
||||
client_max_body_size 10G;
|
||||
fastcgi_buffers 64 4K;
|
||||
gzip on;
|
||||
@@ -65,7 +74,7 @@ server {
|
||||
location ~ ^\/(?:\.|autotest|occ|issue|indie|db_|console) {
|
||||
deny all;
|
||||
}
|
||||
location ~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+)\.php(?:$|\/) {
|
||||
location ~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy)\.php(?:$|\/) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(\/.*|)$;
|
||||
set $path_info $fastcgi_path_info;
|
||||
try_files $fastcgi_script_name =404;
|
||||
@@ -105,7 +114,7 @@ server {
|
||||
add_header Referrer-Policy no-referrer;
|
||||
access_log off;
|
||||
}
|
||||
location ~ \.(?:png|html|ttf|ico|jpg|jpeg|bcmap)$ {
|
||||
location ~ \.(?:png|html|ttf|ico|jpg|jpeg|bcmap|mp4|webm)$ {
|
||||
try_files $uri /index.php$request_uri;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
## Set alias for occ and make executable
|
||||
[[ ! -f /usr/bin/occ ]] && \
|
||||
echo -e '#!/bin/bash\nsudo -u abc -s /bin/bash -c "php7 /config/www/nextcloud/occ $*"' > /usr/bin/occ
|
||||
|
||||
[[ ! -x /usr/bin/occ ]] && \
|
||||
chmod +x /usr/bin/occ
|
||||
|
||||
## Set alias for updater.phar and make executable
|
||||
[[ ! -f /usr/bin/updater.phar ]] && \
|
||||
echo -e '#!/bin/bash\nsudo -u abc -s /bin/bash -c "php7 /config/www/nextcloud/updater/updater.phar $*"' > /usr/bin/updater.phar
|
||||
|
||||
[[ ! -x /usr/bin/updater.phar ]] && \
|
||||
chmod +x /usr/bin/updater.phar
|
||||
Reference in New Issue
Block a user