-
Notifications
You must be signed in to change notification settings - Fork 235
OCIS_FULL deployment example: use renovate to enhance security #12048
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
e231e18
fe674c6
7ef22d7
5944bf9
814fb5d
9e3be6a
8e6cf5b
d255940
911ee3c
d80d4d7
5017323
d337c0f
c682629
4180a32
231cce1
290ea85
631299f
c355276
3c277c1
4dad06b
1c9b5df
016b53a
7d07364
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| name: oCIS Full Smoke | ||
|
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| - "deployments/examples/ocis_full/**" | ||
| push: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - "deployments/examples/ocis_full/**" | ||
| schedule: | ||
| - cron: "0 3 * * *" | ||
|
|
||
| jobs: | ||
| smoke: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 20 | ||
| defaults: | ||
| run: | ||
| working-directory: deployments/examples/ocis_full | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Validate compose config | ||
| run: docker compose --env-file .env config >/dev/null | ||
|
|
||
| - name: Start default stack | ||
| run: docker compose --env-file .env up -d | ||
|
|
||
| - name: Wait for startup | ||
| run: sleep 45 | ||
|
|
||
| - name: Show compose status | ||
| if: always() | ||
| run: docker compose --env-file .env ps | ||
|
|
||
| - name: Show recent compose logs | ||
| if: always() | ||
| run: docker compose --env-file .env logs --tail 200 | ||
|
|
||
| - name: Tear down stack | ||
| if: always() | ||
| run: docker compose --env-file .env down -v --remove-orphans | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,3 +64,5 @@ go.work.sum | |
| .envrc | ||
| CLAUDE.md | ||
| .claude/ | ||
|
|
||
| .DS_Store | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,14 +5,15 @@ LOG_DRIVER= | |
| # If you're on an internet facing server, comment out following line. | ||
| # It skips certificate validation for various parts of Infinite Scale and is | ||
| # needed when self signed certificates are used. | ||
| INSECURE=true | ||
| INSECURE=false | ||
dj4oC marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| ## Traefik Settings ## | ||
| # Note: Traefik is always enabled and can't be disabled. | ||
| # The recommended (and tested) version to pull. If no version is used, it pulls "latest" | ||
| # Documentation/manual override only: default compose pins a tag+digest in docker-compose.yml. | ||
| # release notes: https://github.com/traefik/traefik/releases | ||
| TRAEFIK_DOCKER_TAG=v3.6.7 | ||
| TRAEFIK_DOCKER_TAG= | ||
|
Comment on lines
13
to
+16
|
||
| # Serve Traefik dashboard. | ||
| # Defaults to "false". | ||
| TRAEFIK_DASHBOARD= | ||
|
|
@@ -42,6 +43,7 @@ OCIS=:ocis.yml | |
| # For production releases: "owncloud/ocis" | ||
| # For rolling releases: "owncloud/ocis-rolling" | ||
| # Defaults to production if not set otherwise | ||
| # Documentation/manual override only: default compose pins a tag+digest in ocis*.yml. | ||
| OCIS_DOCKER_IMAGE=owncloud/ocis | ||
| # The oCIS container version. | ||
| # Defaults to "latest" and points to the latest stable tag. | ||
|
|
@@ -155,6 +157,7 @@ START_ADDITIONAL_SERVICES="notifications" | |
| # The importer needs additional COMPANION config, see the following lines for more details. | ||
| ## The docker image to be used for uppy companion. | ||
| # owncloud has built a container with public link import support. | ||
| # Documentation/manual override only: default compose pins a tag+digest in web_extensions/importer.yml. | ||
| COMPANION_IMAGE= | ||
| # Domain of Uppy Companion. Defaults to "companion.owncloud.test". | ||
| COMPANION_DOMAIN= | ||
|
|
@@ -172,6 +175,7 @@ COMPANION_ONEDRIVE_SECRET= | |
| TIKA=:tika.yml | ||
| # Set the desired docker image tag or digest. | ||
| # Defaults to "latest" | ||
| # Documentation/manual override only: default compose pins a tag+digest in tika.yml. | ||
| TIKA_IMAGE= | ||
|
|
||
| ### IMPORTANT Note for Online Office Apps ### | ||
|
|
@@ -184,8 +188,9 @@ TIKA_IMAGE= | |
| # Note: the leading colon is required to enable the service. | ||
| COLLABORA=:collabora.yml | ||
| # The recommended (and tested) version to pull. If no version is used, it pulls "latest" | ||
| # Documentation/manual override only: default compose pins a tag+digest in collabora.yml. | ||
| # release notes: https://www.collaboraonline.com/release-notes/ | ||
| COLLABORA_DOCKER_TAG=25.04.8.1.1 | ||
| COLLABORA_DOCKER_TAG= | ||
| # Domain of Collabora, where you can find the frontend. | ||
| # Defaults to "collabora.owncloud.test" | ||
| COLLABORA_DOMAIN= | ||
|
|
@@ -217,6 +222,7 @@ COLLABORA_SSL_VERIFICATION=false | |
| #CLAMAV=:clamav.yml | ||
| # Image version of the ClamAV container. | ||
| # Defaults to "latest" | ||
| # Documentation/manual override only: default compose pins a tag+digest in clamav.yml. | ||
| CLAMAV_DOCKER_TAG= | ||
|
|
||
|
|
||
|
|
@@ -227,10 +233,11 @@ CLAMAV_DOCKER_TAG= | |
| # For community releases: "onlyoffice/documentserver" | ||
| # For enterprise releases: "onlyoffice/documentserver-ee" | ||
| # Defaults to community if not set otherwise | ||
| # Documentation/manual override only: default compose pins a tag+digest in onlyoffice.yml. | ||
| ONLYOFFICE_IMAGE=onlyoffice/documentserver | ||
| # The recommended (and tested) version to pull. If no version is used, it pulls "latest" | ||
| # release notes: https://github.com/ONLYOFFICE/DocumentServer/releases | ||
dj4oC marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ONLYOFFICE_DOCKER_TAG=9.2.1.1 | ||
| ONLYOFFICE_DOCKER_TAG= | ||
|
|
||
| # EE only: the path to your license file on the host. | ||
| # To activate a license file, comment ONLYOFFICE_DEACTIVATE_LICENSE. Otherwise, it <must> stay uncommented. | ||
|
|
@@ -256,8 +263,9 @@ ONLYOFFICE_DOMAIN= | |
| # Domain for mail server. Defaults to "mail.owncloud.test". | ||
| MAIL_SERVER_DOMAIN= | ||
| # The recommended (and tested) version to pull. If no version is used, it pulls "latest" | ||
| # Documentation/manual override only: default compose pins a tag+digest in mailserver.yml. | ||
| # release notes: https://github.com/axllent/mailpit/releases | ||
| MAIL_SERVER_DOCKER_TAG=v1.28.0 | ||
| MAIL_SERVER_DOCKER_TAG= | ||
|
|
||
|
|
||
| ### Debugging - Monitoring ### | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -13,7 +13,8 @@ services: | |||
| - "clamav-socket:/var/run/clamav" | ||||
|
|
||||
| clamav: | ||||
| image: clamav/clamav:${CLAMAV_DOCKER_TAG:-latest} | ||||
| image: clamav/clamav:1.5.1@sha256:e4f5060e4ef3f066a4c1234fbe45d8d876635f03b13e41aa679f89792968bc6c | ||||
| platform: linux/${IMAGE_ARCH:-amd64} | ||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| # release notes: https://blog.clamav.net | ||||
| networks: | ||||
| ocis-net: | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -12,7 +12,8 @@ services: | |||
| GRAPH_AVAILABLE_ROLES: "b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5,a8d5fe5e-96e3-418d-825b-534dbdf22b99,fb6c3e19-e378-47e5-b277-9732f9de6e21,58c63c02-1d89-4572-916a-870abc5a1b7d,2d00ce52-1fc2-4dbc-8b95-a73b73395f5a,1c996275-f1c9-4e71-abdf-a42f6495e960,312c0871-5ef7-4b3a-85b6-0e4074c64049,aa97fe03-7980-45ac-9e50-b325749fd7e6" | ||||
|
|
||||
| collaboration: | ||||
| image: ${OCIS_DOCKER_IMAGE:-owncloud/ocis}:${OCIS_DOCKER_TAG:-latest} | ||||
| image: owncloud/ocis:8.0.0@sha256:41e6d78f43507015e0c34b87bff49ae0744f261a92916f044e47d32067ff18ce | ||||
| platform: linux/${IMAGE_ARCH:-amd64} | ||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| networks: | ||||
| ocis-net: | ||||
| depends_on: | ||||
|
|
@@ -49,7 +50,8 @@ services: | |||
| restart: always | ||||
|
|
||||
| collabora: | ||||
| image: collabora/code:${COLLABORA_DOCKER_TAG:-latest} | ||||
| image: collabora/code:25.04.8.1.1@sha256:3c58d0e9bae75e4647467d0c7d91cb66f261d3e814709aed590b5c334a04db26 | ||||
| platform: linux/${IMAGE_ARCH:-amd64} | ||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| networks: | ||||
| ocis-net: | ||||
| environment: | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -8,7 +8,8 @@ services: | |||
| NOTIFICATIONS_SMTP_INSECURE: "true" | ||||
|
|
||||
| mailserver: | ||||
| image: axllent/mailpit:${MAIL_SERVER_DOCKER_TAG:-latest} | ||||
| image: axllent/mailpit:v1.28.0@sha256:c076638db1e15662150be4fb62b8a6e96ef6ba5bde90c838a0239225854830f7 | ||||
| platform: linux/${IMAGE_ARCH:-amd64} | ||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| networks: | ||||
| - ocis-net | ||||
| ports: | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| { | ||
| "$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
| "extends": ["config:base", "docker:pinDigests"], | ||
| "labels": ["dependencies", "docker", "ocis_full"], | ||
| "reviewers": ["owncloud/qa"], | ||
| "assignees": ["owncloud/qa"], | ||
| "timezone": "Europe/Berlin", | ||
| "schedule": ["every weekend"], | ||
| "prConcurrentLimit": 10, | ||
| "packageRules": [ | ||
| { | ||
| "matchManagers": ["docker-compose"], | ||
| "matchFileNames": [ | ||
| "^deployments/examples/ocis_full/.*\\.ya?ml$" | ||
| ], | ||
| "groupName": "ocis_full image updates (tags+digests)" | ||
| } | ||
| ] | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.