Compare commits

..

23 commits

Author SHA1 Message Date
christian 6023af9f0f
nextcloud: Remove version 28 add version 30
All checks were successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
ci/woodpecker/cron/keycloak/1 Pipeline was successful
ci/woodpecker/cron/keycloak/2 Pipeline was successful
ci/woodpecker/cron/nextcloud/2 Pipeline was successful
ci/woodpecker/cron/nextcloud/1 Pipeline was successful
ci/woodpecker/cron/penpot/2 Pipeline was successful
ci/woodpecker/cron/penpot/3 Pipeline was successful
ci/woodpecker/cron/penpot/1 Pipeline was successful
2024-10-31 23:22:48 +01:00
christian 8dbb9c64b3
Build Keycloak image with version 26
All checks were successful
ci/woodpecker/push/keycloak/1 Pipeline was successful
ci/woodpecker/push/keycloak/2 Pipeline was successful
ci/woodpecker/cron/nextcloud/2 Pipeline was successful
ci/woodpecker/cron/nextcloud/1 Pipeline was successful
ci/woodpecker/cron/keycloak/1 Pipeline was successful
ci/woodpecker/cron/keycloak/2 Pipeline was successful
ci/woodpecker/cron/penpot/2 Pipeline was successful
ci/woodpecker/cron/penpot/3 Pipeline was successful
ci/woodpecker/cron/penpot/1 Pipeline was successful
2024-10-04 16:19:02 +02:00
June 98175014f9
penpot: add patch disallow. reg. with invite, if pass. login is disabled
All checks were successful
ci/woodpecker/push/penpot/2 Pipeline was successful
ci/woodpecker/push/penpot/3 Pipeline was successful
ci/woodpecker/push/penpot/1 Pipeline was successful
ci/woodpecker/cron/keycloak Pipeline was successful
ci/woodpecker/cron/nextcloud/2 Pipeline was successful
ci/woodpecker/cron/nextcloud/1 Pipeline was successful
ci/woodpecker/cron/penpot/2 Pipeline was successful
ci/woodpecker/cron/penpot/1 Pipeline was successful
ci/woodpecker/cron/penpot/3 Pipeline was successful
2024-08-10 22:02:21 +02:00
June a4a0af5d65
penpot: introduce ci for building custom penpot images
All checks were successful
ci/woodpecker/push/penpot/2 Pipeline was successful
ci/woodpecker/push/penpot/3 Pipeline was successful
ci/woodpecker/push/penpot/1 Pipeline was successful
This is in preparation for building penpot images with custom patches
applied.
2024-08-10 20:39:10 +02:00
June 2906ee45d8
organize the image publishing/tagging process better
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
Every image gets pushed with a unique version-branch tag by default and
then the version and latest tags get only tagged from the main branch
and the main branch and the desired version respectively.
2024-08-10 19:16:52 +02:00
christian 6783e974b9
keycloak: fix login theme for mobile
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
ci/woodpecker/cron/nextcloud/2 Pipeline was successful
ci/woodpecker/cron/nextcloud/1 Pipeline was successful
ci/woodpecker/cron/keycloak Pipeline was successful
2024-07-29 22:20:59 +02:00
christian c9f1ead418
Add Nextcloud image to README.md 2024-07-29 21:51:01 +02:00
christian 99cce09ef6
Squashed commit of the following:
All checks were successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
commit 59d03f97a3
Author: c6ristian <c6ristian@christian.moe>
Date:   Mon Jul 29 20:15:58 2024 +0200

    explain why the COPY step exists

commit 2fd26d6f6f
Author: c6ristian <c6ristian@christian.moe>
Date:   Mon Jul 29 19:55:52 2024 +0200

    no keep var run

commit cc2f0cdc81
Author: c6ristian <c6ristian@christian.moe>
Date:   Mon Jul 29 19:53:52 2024 +0200

    no keep var log

commit 88569e05f5
Author: c6ristian <c6ristian@christian.moe>
Date:   Mon Jul 29 19:46:31 2024 +0200

    COPY .keep

commit 1eca984167
Author: c6ristian <c6ristian@christian.moe>
Date:   Mon Jul 29 19:21:50 2024 +0200

    nextcloud: try a .keep file to save the folder
2024-07-29 21:28:58 +02:00
christian f88c3ce4e7
nextcloud: revert flags
Some checks failed
ci/woodpecker/push/nextcloud/2 Pipeline failed
ci/woodpecker/push/nextcloud/1 Pipeline failed
ci/woodpecker/cron/nextcloud/1 Pipeline failed
ci/woodpecker/cron/nextcloud/2 Pipeline failed
ci/woodpecker/cron/keycloak Pipeline was successful
2024-07-28 03:37:47 +02:00
christian 0f10928c1b
nextcloud: more fun flags
Some checks failed
ci/woodpecker/push/nextcloud/1 Pipeline failed
ci/woodpecker/push/nextcloud/2 Pipeline failed
2024-07-28 03:34:36 +02:00
christian a8ab630c75
nextcloud: try kaniko flag
Some checks failed
ci/woodpecker/push/nextcloud/1 Pipeline failed
ci/woodpecker/push/nextcloud/2 Pipeline failed
2024-07-28 03:32:40 +02:00
christian 82af017d9f
nextcloud: use COPY
Some checks failed
ci/woodpecker/push/nextcloud/1 Pipeline failed
ci/woodpecker/push/nextcloud/2 Pipeline failed
2024-07-28 03:23:18 +02:00
christian efb88af7ca
Nextcloud: add -p flag to mkdir
All checks were successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
ci/woodpecker/cron/keycloak Pipeline was successful
ci/woodpecker/cron/nextcloud/2 Pipeline was successful
ci/woodpecker/cron/nextcloud/1 Pipeline was successful
2024-07-28 00:29:18 +02:00
christian 65f93ad899
Nextcloud: ADD supervisord.conf to root
Some checks failed
ci/woodpecker/push/nextcloud/1 Pipeline failed
ci/woodpecker/push/nextcloud/2 Pipeline failed
2024-07-28 00:27:33 +02:00
christian 0025b72e4b
Fix: fix path /var/run/supervisord/ does not exist
All checks were successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
2024-07-28 00:13:26 +02:00
christian 69c5ef00fe
only tag branch & latest if version equals check
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
2024-07-28 00:02:40 +02:00
christian 5dcbe2c3c8
only tag branch and latest if PREFERRED_VERSION
All checks were successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
2024-07-27 23:43:26 +02:00
christian 14df00e631
Fix: push images with the version tag first
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
2024-07-27 23:27:23 +02:00
christian 38078de4b0
Fix: set -p for mkdir
Some checks failed
ci/woodpecker/push/nextcloud/2 Pipeline failed
ci/woodpecker/push/nextcloud/1 Pipeline failed
2024-07-27 23:23:25 +02:00
christian 4fcbc46175
Build Container on push if it's files have changed
Some checks failed
ci/woodpecker/push/nextcloud/1 Pipeline failed
ci/woodpecker/push/nextcloud/2 Pipeline failed
ci/woodpecker/push/keycloak Pipeline was successful
2024-07-27 23:19:14 +02:00
christian 8dfecd068d
Build our nextcloud image via woodpecker
Some checks failed
ci/woodpecker/push/nextcloud/1 Pipeline failed
ci/woodpecker/push/nextcloud/2 Pipeline failed
ci/woodpecker/push/keycloak Pipeline was successful
2024-07-27 23:09:59 +02:00
christian 01851a011e
Fix: need to give the css class the correct name.
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
2024-07-27 22:42:10 +02:00
christian 1b24726e7a
Add our own logo instead of the keycloak logo
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
2024-07-27 22:34:43 +02:00
9 changed files with 369 additions and 19 deletions

View file

@ -1,5 +1,8 @@
when:
- event: push
path:
- 'keycloak/**'
- '.woodpecker/keycloak.yaml'
- event: cron
cron: daily
@ -17,6 +20,7 @@ workspace:
matrix:
KEYCLOAK_VERSION:
- 25.0
- 26.0
IMAGE_NAME:
- git.hamburg.ccc.de/ccchh/oci-images/keycloak
@ -25,29 +29,18 @@ steps:
image: alpine
commands:
- mkdir /woodpecker/images
- name: test
image: debian
commands:
- echo "miau" > test
- name: test-2
image: debian
environment:
MY_COOL_TEST_VAR: test
entrypoint:
- /usr/bin/cat
- $${MY_COOL_TEST_VAR}"
- name: build-image
image: gcr.io/kaniko-project/executor
environment:
MY_COOL_TEST_VAR: 25.0
entrypoint:
- /kaniko/executor
- --context=dir:///woodpecker/src/keycloak
- --dockerfile=./Containerfile
- --build-arg=TAG=$${MY_COOL_TEST_VAR}
- --destination=${IMAGE_NAME}:$${MY_COOL_TEST_VAR}
- --build-arg=TAG=${KEYCLOAK_VERSION}
- --destination=${IMAGE_NAME}:${KEYCLOAK_VERSION}
- --no-push
- --tar-path=/woodpecker/images/keycloak.tar
- name: publish-image
image: alpine
secrets:
@ -55,8 +48,9 @@ steps:
commands:
- apk -u add crane
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
- crane push /woodpecker/images/keycloak.tar $IMAGE_NAME:$CI_COMMIT_BRANCH
- name: tag-version-and-latest
- crane push /woodpecker/images/keycloak.tar $IMAGE_NAME:$KEYCLOAK_VERSION-$CI_COMMIT_BRANCH
- name: tag-version
image: alpine
when:
- branch: main
@ -65,5 +59,16 @@ steps:
commands:
- apk -u add crane
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
- crane tag $IMAGE_NAME:$CI_COMMIT_BRANCH $KEYCLOAK_VERSION
- crane tag $IMAGE_NAME:$CI_COMMIT_BRANCH latest
- crane tag $IMAGE_NAME:$KEYCLOAK_VERSION-$CI_COMMIT_BRANCH $KEYCLOAK_VERSION
- name: tag-latest
image: alpine
when:
- branch: main
evaluate: 'KEYCLOAK_VERSION == "26.0"'
secrets:
- GIT_API_TOKEN
commands:
- apk -u add crane
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
- crane tag $IMAGE_NAME:$KEYCLOAK_VERSION-$CI_COMMIT_BRANCH latest

View file

@ -0,0 +1,74 @@
when:
- event: push
path:
- 'nextcloud/**'
- '.woodpecker/nextcloud.yaml'
- event: cron
cron: daily
# Manually set a workspace path, so we can use it literally, without using
# ${CI_WORKSPACE}, when running kaniko, since using ${CI_WORKSPACE} doesn't work.
# https://github.com/woodpecker-ci/woodpecker/issues/3982
workspace:
path: src
# Use matrix to set NEXTCLOUD_VERSION instead of setting the NEXTCLOUD_VERSION as
# an environment variable in the build-images step, since string substitution
# doesn't work for custom environment variables.
# https://github.com/woodpecker-ci/woodpecker/issues/3983
# Also because global environment variables aren't a thing.
matrix:
NEXTCLOUD_VERSION:
- 29
- 30
IMAGE_NAME:
- git.hamburg.ccc.de/ccchh/oci-images/nextcloud
steps:
- name: setup-image-path
image: docker.io/library/alpine
commands:
- mkdir /woodpecker/images
- name: build-image
image: gcr.io/kaniko-project/executor
entrypoint:
- /kaniko/executor
- --context=dir:///woodpecker/src/nextcloud
- --dockerfile=./Containerfile
- --build-arg=TAG=${NEXTCLOUD_VERSION}
- --destination=${IMAGE_NAME}:${NEXTCLOUD_VERSION}
- --no-push
- --tar-path=/woodpecker/images/nextcloud.tar
- name: publish-image
image: docker.io/library/alpine
secrets:
- GIT_API_TOKEN
commands:
- apk -u add crane
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
- crane push /woodpecker/images/nextcloud.tar $IMAGE_NAME:$NEXTCLOUD_VERSION-$CI_COMMIT_BRANCH
- name: tag-version
image: docker.io/library/alpine
when:
- branch: main
secrets:
- GIT_API_TOKEN
commands:
- apk -u add crane
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
- crane tag $IMAGE_NAME:$NEXTCLOUD_VERSION-$CI_COMMIT_BRANCH $NEXTCLOUD_VERSION
- name: tag-latest
image: docker.io/library/alpine
when:
- branch: main
evaluate: 'NEXTCLOUD_VERSION == "28"'
secrets:
- GIT_API_TOKEN
commands:
- apk -u add crane
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
- crane tag $IMAGE_NAME:$NEXTCLOUD_VERSION-$CI_COMMIT_BRANCH latest

95
.woodpecker/penpot.yaml Normal file
View file

@ -0,0 +1,95 @@
when:
- event: push
path:
- 'penpot/**'
- '.woodpecker/penpot.yaml'
- event: cron
cron: daily
# Manually set a workspace path, so we can use it literally, without using
# ${CI_WORKSPACE}, when running kaniko, since using ${CI_WORKSPACE} doesn't work.
# https://github.com/woodpecker-ci/woodpecker/issues/3982
workspace:
path: src
# Use matrix to set PENPOT_VERSION instead of setting the PENPOT_VERSION as an
# environment variable in the build-images step, since string substitution
# doesn't work for custom environment variables.
# https://github.com/woodpecker-ci/woodpecker/issues/3983
# Also because global environment variables aren't a thing.
matrix:
PENPOT_VERSION:
- 2.1.2
IMAGE_BASE_NAME:
- git.hamburg.ccc.de/ccchh/oci-images/penpot
IMAGE_TYPE:
- frontend
- backend
- exporter
steps:
- name: setup-image-path
image: alpine
commands:
- mkdir /woodpecker/images
- name: setup-penpot-repo
image: alpine
commands:
- apk -u add git curl
- git clone --branch $PENPOT_VERSION https://github.com/penpot/penpot.git /woodpecker/penpot
- cd /woodpecker/penpot
- git submodule update --init --recursive
# Get build system patch allowing for building images with kaniko.
# https://github.com/penpot/penpot/pull/4945
# https://github.com/penpot/penpot/pull/4945/commits/752574bac789cc90cc218004bb9545cc6239895d
- curl https://github.com/penpot/penpot/commit/752574bac789cc90cc218004bb9545cc6239895d.patch > 0001-move-entire-image-build-process-into-Dockerfiles.patch
# Get patch disallowing registration with invitation token, when disable-login-with-password flag is set.
# https://github.com/penpot/penpot/issues/4975
# https://github.com/june128/penpot/commit/f799da132bf5a51015859031f45154172fbf7cd0
- curl https://github.com/june128/penpot/commit/f799da132bf5a51015859031f45154172fbf7cd0.patch > 0002-hotfix-dont-allow-registration-with-invite-if-password-login-is-disabled.patch
- git config user.name "Woodpecker"
- git config user.email "woodpecker@woodpecker.invalid"
- git am *.patch
- name: build-image
image: gcr.io/kaniko-project/executor
entrypoint:
- /kaniko/executor
- --context=dir:///woodpecker/penpot
- --dockerfile=./docker/images/Dockerfile.${IMAGE_TYPE}
- --destination=${IMAGE_BASE_NAME}/${IMAGE_TYPE}:${PENPOT_VERSION}
- --no-push
- --tar-path=/woodpecker/images/penpot-${IMAGE_TYPE}.tar
- name: publish-image
image: docker.io/library/alpine
secrets:
- GIT_API_TOKEN
commands:
- apk -u add crane
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
- crane push /woodpecker/images/penpot-$IMAGE_TYPE.tar $IMAGE_BASE_NAME/$IMAGE_TYPE:$PENPOT_VERSION-$CI_COMMIT_BRANCH
- name: tag-version
image: docker.io/library/alpine
when:
- branch: main
secrets:
- GIT_API_TOKEN
commands:
- apk -u add crane
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
- crane tag $IMAGE_BASE_NAME/$IMAGE_TYPE:$PENPOT_VERSION-$CI_COMMIT_BRANCH $PENPOT_VERSION
- name: tag-latest
image: docker.io/library/alpine
when:
- branch: main
evaluate: 'PENPOT_VERSION == "2.1.2"'
secrets:
- GIT_API_TOKEN
commands:
- apk -u add crane
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
- crane tag $IMAGE_BASE_NAME/$IMAGE_TYPE:$PENPOT_VERSION-$CI_COMMIT_BRANCH latest

View file

@ -11,3 +11,7 @@ Tools in use:
## Images
- `git.hamburg.ccc.de/CCCHH/oci-images/keycloak`
- `git.hamburg.ccc.de/CCCHH/oci-images/nextcloud`
- `git.hamburg.ccc.de/CCCHH/oci-images/penpot/frontend`
- `git.hamburg.ccc.de/CCCHH/oci-images/penpot/backend`
- `git.hamburg.ccc.de/CCCHH/oci-images/penpot/exporter`

View file

@ -2,4 +2,15 @@
background: url("../../img/blur-more-blur-edit.jpg") no-repeat center center fixed;
background-size: cover;
height: 100%;
}
div.kc-logo-text {
background: url("../../img/CCCHH.svg") no-repeat center center;
background-size: contain;
filter: invert(1);
height: 100px;
}
div.kc-logo-text span {
display: none;
}

View file

@ -0,0 +1,123 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width='270.000mm' height='78.923mm' viewBox="0 0 270.000 78.923">
<title>Exported SVG</title>
<style><![CDATA[
polygon {
shape-rendering:crispEdges;
stroke-width:0.270000;
}
.s1 {
stroke:#000000;
stroke-width:0.245682;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.s2 {
stroke:#19b219;
stroke-width:0.245682;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.s3 {
stroke:#7f4c00;
stroke-width:0.245682;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.s4 {
stroke:#00cc00;
stroke-width:0.245682;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.s5 {
stroke:#000000;
stroke-width:0.163788;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.s6 {
stroke:#ff19ff;
stroke-width:0.163788;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.s7 {
stroke:#ff0000;
stroke-width:0.245682;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.s8 {
stroke:#ffff00;
stroke-width:0.245682;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.s9 {
stroke:#001919;
stroke-width:0.163788;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.sa {
stroke:#006666;
stroke-width:0.163788;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.sb {
stroke:#00ffff;
stroke-width:0.491365;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.sc {
stroke:#ff0000;
stroke-width:1.310307;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.sd {
stroke:#191919;
stroke-width:0.163788;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
.se {
stroke:#000000;
stroke-width:0.163788;
stroke-linecap:round;
stroke-linejoin:round;
stroke-dasharray:2.457,2.457;
fill:none;
}
.sf {
stroke:#000000;
stroke-width:0.491365;
stroke-linecap:round;
stroke-linejoin:round;
fill:none;
}
]]></style>
<path d='M62.272 26.962 A30.000,30.000 0 0,0 28.603,10.152 A30.000,30.000 0 0,0 5.000,39.462 A30.000,30.000 0 0,0 28.603,68.772 A30.000,30.000 0 0,0 62.272,51.962 L56.651,51.962 A25.000,25.000 0 0,1 28.530,63.610 A25.000,25.000 0 0,1 10.000,39.462 A25.000,25.000 0 0,1 28.530,15.313 A25.000,25.000 0 0,1 56.651,26.962 L62.272,26.962 ' class='s0' />
<path d='M53.540 31.962 A20.000,20.000 0 0,0 31.180,19.830 A20.000,20.000 0 0,0 15.000,39.462 A20.000,20.000 0 0,0 31.180,59.093 A20.000,20.000 0 0,0 53.540,46.962 L65.953,46.962 A30.000,30.000 0 0,0 92.347,69.344 A30.000,30.000 0 0,0 122.272,51.962 L116.651,51.962 A25.000,25.000 0 0,1 89.747,63.903 A25.000,25.000 0 0,1 70.125,41.962 L49.790,41.962 A15.000,15.000 0 0,1 33.746,54.409 A15.000,15.000 0 0,1 20.000,39.462 A15.000,15.000 0 0,1 33.746,24.514 A15.000,15.000 0 0,1 49.790,36.962 L70.125,36.962 A25.000,25.000 0 0,1 89.747,15.020 A25.000,25.000 0 0,1 116.651,26.962 L122.272,26.962 A30.000,30.000 0 0,0 92.347,9.579 A30.000,30.000 0 0,0 65.953,31.962 L53.540,31.962 ' class='s0' />
<path d='M113.540 31.962 A20.000,20.000 0 0,0 91.180,19.830 A20.000,20.000 0 0,0 75.000,39.462 A20.000,20.000 0 0,0 91.180,59.093 A20.000,20.000 0 0,0 113.540,46.962 L125.953,46.962 A30.000,30.000 0 0,0 152.347,69.344 A30.000,30.000 0 0,0 182.272,51.962 L176.651,51.962 A25.000,25.000 0 0,1 149.747,63.903 A25.000,25.000 0 0,1 130.125,41.962 L109.790,41.962 A15.000,15.000 0 0,1 93.746,54.409 A15.000,15.000 0 0,1 80.000,39.462 A15.000,15.000 0 0,1 93.746,24.514 A15.000,15.000 0 0,1 109.790,36.962 L130.125,36.962 A25.000,25.000 0 0,1 149.747,15.020 A25.000,25.000 0 0,1 176.651,26.962 L182.272,26.962 A30.000,30.000 0 0,0 152.347,9.579 A30.000,30.000 0 0,0 125.953,31.962 L113.540,31.962 ' class='s0' />
<path d='M173.540 31.962 A20.000,20.000 0 0,0 151.180,19.830 A20.000,20.000 0 0,0 135.000,39.462 A20.000,20.000 0 0,0 151.180,59.093 A20.000,20.000 0 0,0 173.540,46.962 L190.000,46.962 L190.000,69.462 L205.000,69.462 L205.000,46.962 L220.000,46.962 L220.000,69.462 L235.000,69.462 L235.000,46.962 L250.000,46.962 L250.000,69.462 L265.000,69.462 L265.000,9.462 L250.000,9.462 L250.000,31.962 L235.000,31.962 L235.000,9.462 L220.000,9.462 L220.000,31.962 L205.000,31.962 L205.000,9.462 L190.000,9.462 L190.000,31.962 L173.540,31.962 M169.790 36.962 L195.000,36.962 L195.000,14.462 L200.000,14.462 L200.000,36.962 L225.000,36.962 L225.000,14.462 L230.000,14.462 L230.000,36.962 L255.000,36.962 L255.000,14.462 L260.000,14.462 L260.000,64.462 L255.000,64.462 L255.000,41.962 L230.000,41.962 L230.000,64.462 L225.000,64.462 L225.000,41.962 L200.000,41.962 L200.000,64.462 L195.000,64.462 L195.000,41.962 L169.790,41.962 A15.000,15.000 0 0,1 153.746,54.409 A15.000,15.000 0 0,1 140.000,39.462 A15.000,15.000 0 0,1 153.746,24.514 A15.000,15.000 0 0,1 169.790,36.962 ' class='s0' />
</svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

0
nextcloud/.keep Normal file
View file

16
nextcloud/Containerfile Normal file
View file

@ -0,0 +1,16 @@
ARG TAG=latest
FROM docker.io/library/nextcloud:${TAG}
RUN apt-get update \
&& apt-get install -y supervisor \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /var/log/supervisord /var/run/supervisord
# We need to copy a file to the supervisord folder in /var/run so it exists when the container starts.
COPY .keep /var/run/supervisord/
COPY supervisord.conf /
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]

View file

@ -0,0 +1,22 @@
[supervisord]
nodaemon=true
logfile=/var/log/supervisord/supervisord.log
pidfile=/var/run/supervisord/supervisord.pid
childlogdir=/var/log/supervisord/
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error
[program:apache2]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=apache2-foreground
[program:cron]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/cron.sh