Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75a9c27425 |
+4
-5
@@ -28,6 +28,8 @@ SECRET_MINIO_RU_VERSION=v1
|
|||||||
SECRET_POSTGRES_P_VERSION=v1
|
SECRET_POSTGRES_P_VERSION=v1
|
||||||
# DJANGO_HOST_EMAIL_PASSWORD
|
# DJANGO_HOST_EMAIL_PASSWORD
|
||||||
SECRET_EMAIL_PASS_VERSION=v1
|
SECRET_EMAIL_PASS_VERSION=v1
|
||||||
|
# COLLABORA_ADMIN_PASSWORD
|
||||||
|
SECRET_COLLABORA_P_VERSION=v1
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# EMAIL
|
# EMAIL
|
||||||
@@ -75,12 +77,9 @@ LOGGING_LEVEL_LOGGERS_APP=INFO
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
# COLLABORA ADMIN PANEL
|
# COLLABORA ADMIN PANEL
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Credentials for the Collabora admin panel (https://COLLABORA_DOMAIN/browser/dist/admin/admin.html)
|
# Username for the Collabora admin panel (https://COLLABORA_DOMAIN/browser/dist/admin/admin.html)
|
||||||
# Since collabora 26.04 (image execs coolwsd directly; no shell in the image), the panel
|
# Password is managed via Docker secret 'collabora_p'
|
||||||
# password moved from the retired Docker secret 'collabora_p' to this env var.
|
|
||||||
# Empty/unset = panel stays locked.
|
|
||||||
#COLLABORA_ADMIN_USERNAME=admin
|
#COLLABORA_ADMIN_USERNAME=admin
|
||||||
#COLLABORA_ADMIN_PASSWORD=
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# BACKUPS
|
# BACKUPS
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
# Lasuite-Drive Recipe Maintenance
|
|
||||||
|
|
||||||
All contributions should be made via pull requests.
|
|
||||||
|
|
||||||
## Pull Requests
|
|
||||||
|
|
||||||
A pull request can be merged directly into `main` by any maintainer.
|
|
||||||
No approval is needed, but pull requests should be tested as working before merge.
|
|
||||||
|
|
||||||
## Dependency Updates
|
|
||||||
|
|
||||||
- patch updates proposed from renovate bot are merged directly -
|
|
||||||
if there is a CVE, also release a new patch version of this recipe
|
|
||||||
- minor updates proposed from renovate bot are tested by one maintainer
|
|
||||||
and merged if they don't break, then a new minor version of the recipe
|
|
||||||
is released
|
|
||||||
- major updates proposed form renovate bot are tested by two maintainers
|
|
||||||
and merged if they don't break, then a major version of the recipe is
|
|
||||||
released.
|
|
||||||
If the renovate bot PR is older than one week, one maintainer can decide
|
|
||||||
to merge it anyway.
|
|
||||||
|
|
||||||
## Become a maintainer
|
|
||||||
|
|
||||||
Everyone can apply to be a recipe maintainer:
|
|
||||||
|
|
||||||
1. Watch the repository to get updates.
|
|
||||||
2. Add yourself to the list in [README.md](./README.md) and open a pull request with the change.
|
|
||||||
3. Once the pull request is merged, you will be added to the [La Suite maintainers team](https://git.coopcloud.tech/org/coop-cloud/teams/lasuite-maintainers).
|
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
> [Drive](https://github.com/suitenumerique/drive) (part of [La Suite Numerique](https://lasuite.numerique.gouv.fr/en)) for Co-op Cloud
|
> [Drive](https://github.com/suitenumerique/drive) (part of [La Suite Numerique](https://lasuite.numerique.gouv.fr/en)) for Co-op Cloud
|
||||||
|
|
||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
* **Maintainer**: [@trav](https://git.coopcloud.tech/trav), [@notplants](https://git.coopcloud.tech/notplants), [@ineiti](https://git.coopcloud.tech/ineiti)
|
|
||||||
* **Category**: Apps
|
* **Category**: Apps
|
||||||
* **Status**: 2
|
* **Status**: 2
|
||||||
* **Image**: [`lasuite/drive`](https://hub.docker.com/r/lasuite/drive), 4, upstream
|
* **Image**: [`lasuite/drive`](https://hub.docker.com/r/lasuite/drive), 4, upstream
|
||||||
@@ -92,3 +92,8 @@ You then need to insert the password for your smtp server as a secret:
|
|||||||
Then redeploy the app, and automated e-mail sending should work:
|
Then redeploy the app, and automated e-mail sending should work:
|
||||||
|
|
||||||
`abra app deploy <app-name> --force`
|
`abra app deploy <app-name> --force`
|
||||||
|
|
||||||
|
|
||||||
|
## Maintainers
|
||||||
|
|
||||||
|
coop cloud recipe maintained by @notplants
|
||||||
@@ -5,7 +5,7 @@ export NGINX_CONF_VERSION=v6
|
|||||||
export ONLYOFFICE_CONF_VERSION=v2
|
export ONLYOFFICE_CONF_VERSION=v2
|
||||||
export PG_BACKUP_VERSION=v4
|
export PG_BACKUP_VERSION=v4
|
||||||
export MIGRATE_VERSION=v1
|
export MIGRATE_VERSION=v1
|
||||||
export MINIO_INITIALIZE_VERSION=v2
|
export MINIO_INITIALIZE_VERSION=v1
|
||||||
|
|
||||||
environment() {
|
environment() {
|
||||||
# this exports all the secrets as environment variables
|
# this exports all the secrets as environment variables
|
||||||
|
|||||||
+24
-19
@@ -95,14 +95,14 @@ services:
|
|||||||
|
|
||||||
app:
|
app:
|
||||||
user: "${DOCKER_USER:-1000}"
|
user: "${DOCKER_USER:-1000}"
|
||||||
image: lasuite/drive-frontend:v0.26.0
|
image: lasuite/drive-frontend:v0.22.0
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=false"
|
- "traefik.enable=false"
|
||||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||||
- "coop-cloud.${STACK_NAME}.version=0.13.3+v0.22.0"
|
- "coop-cloud.${STACK_NAME}.version=0.12.0+v0.21.0"
|
||||||
environment:
|
environment:
|
||||||
<<: [ *common-env ]
|
<<: [ *common-env ]
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -116,7 +116,7 @@ services:
|
|||||||
|
|
||||||
backend:
|
backend:
|
||||||
user: ${DOCKER_USER:-1000}
|
user: ${DOCKER_USER:-1000}
|
||||||
image: lasuite/drive-backend:v0.26.0
|
image: lasuite/drive-backend:v0.22.0
|
||||||
command: [ "gunicorn", "-c", "/usr/local/etc/gunicorn/drive.py", "drive.wsgi:application" ]
|
command: [ "gunicorn", "-c", "/usr/local/etc/gunicorn/drive.py", "drive.wsgi:application" ]
|
||||||
entrypoint: >
|
entrypoint: >
|
||||||
sh -c "if [ \"$$AUTO_MIGRATIONS\" = \"true\" ]; then /migrate.sh; fi && exec /abra-entrypoint.sh /usr/local/bin/entrypoint \"$$@\"" --
|
sh -c "if [ \"$$AUTO_MIGRATIONS\" = \"true\" ]; then /migrate.sh; fi && exec /abra-entrypoint.sh /usr/local/bin/entrypoint \"$$@\"" --
|
||||||
@@ -145,7 +145,7 @@ services:
|
|||||||
|
|
||||||
celery:
|
celery:
|
||||||
user: ${DOCKER_USER:-1000}
|
user: ${DOCKER_USER:-1000}
|
||||||
image: lasuite/drive-backend:v0.26.0
|
image: lasuite/drive-backend:v0.22.0
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
command: [ "celery", "-A", "drive.celery_app", "worker", "-l", "INFO" ]
|
command: [ "celery", "-A", "drive.celery_app", "worker", "-l", "INFO" ]
|
||||||
@@ -167,7 +167,7 @@ services:
|
|||||||
|
|
||||||
celery-beat:
|
celery-beat:
|
||||||
user: ${DOCKER_USER:-1000}
|
user: ${DOCKER_USER:-1000}
|
||||||
image: lasuite/drive-backend:v0.26.0
|
image: lasuite/drive-backend:v0.22.0
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
command: [ "celery", "-A", "drive.celery_app", "beat", "-l", "INFO", "--schedule", "/tmp/celerybeat-schedule" ]
|
command: [ "celery", "-A", "drive.celery_app", "beat", "-l", "INFO", "--schedule", "/tmp/celerybeat-schedule" ]
|
||||||
@@ -214,7 +214,7 @@ services:
|
|||||||
- postgres_p
|
- postgres_p
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:8.10.3
|
image: redis:8.10.1
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "redis-cli", "ping"]
|
test: ["CMD", "redis-cli", "ping"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@@ -229,8 +229,7 @@ services:
|
|||||||
- backend
|
- backend
|
||||||
|
|
||||||
minio:
|
minio:
|
||||||
image: bitnamilegacy/minio:2025.7.23-debian-12-r5
|
image: quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z
|
||||||
user: root
|
|
||||||
environment: *minio-env
|
environment: *minio-env
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "mc", "ready", "local"]
|
test: ["CMD", "mc", "ready", "local"]
|
||||||
@@ -240,11 +239,11 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
- proxy
|
- proxy
|
||||||
command: /opt/bitnami/scripts/minio/run.sh
|
command: minio server /data
|
||||||
entrypoint: >
|
entrypoint: >
|
||||||
sh -c "/minio-initialize.sh & exec /opt/bitnami/scripts/minio/entrypoint.sh \"$$@\"" --
|
sh -c "/minio-initialize.sh & exec /usr/bin/docker-entrypoint.sh \"$$@\"" --
|
||||||
volumes:
|
volumes:
|
||||||
- minio:/bitnami/minio/data
|
- minio:/data
|
||||||
configs:
|
configs:
|
||||||
- source: abra_entrypoint
|
- source: abra_entrypoint
|
||||||
target: /abra-entrypoint.sh
|
target: /abra-entrypoint.sh
|
||||||
@@ -274,12 +273,13 @@ services:
|
|||||||
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
|
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
|
||||||
|
|
||||||
collabora:
|
collabora:
|
||||||
image: collabora/code:26.04.5.2.1
|
image: collabora/code:25.04.10.3.1
|
||||||
# 26.04 images exec coolwsd directly (no shell in the image), so ssl options are passed as
|
entrypoint: >
|
||||||
# args and the panel password comes from the env instead of a Docker secret.
|
sh -c "
|
||||||
command: ["--o:ssl.enable=false", "--o:ssl.termination=true"]
|
export password=\"$$(cat /run/secrets/collabora_p)\" &&
|
||||||
|
exec /start-collabora-online.sh"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "/usr/bin/coolwsd", "--probe", "--o:ssl.enable=false" ]
|
test: [ "CMD", "curl", "-f", "http://localhost:9980/hosting/discovery" ]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: 60s
|
start_period: 60s
|
||||||
@@ -288,9 +288,11 @@ services:
|
|||||||
- backend
|
- backend
|
||||||
- proxy
|
- proxy
|
||||||
environment:
|
environment:
|
||||||
|
- extra_params=--o:ssl.enable=false --o:ssl.termination=true
|
||||||
- username=${COLLABORA_ADMIN_USERNAME:-admin}
|
- username=${COLLABORA_ADMIN_USERNAME:-admin}
|
||||||
- server_name=${COLLABORA_DOMAIN}
|
- server_name=${COLLABORA_DOMAIN}
|
||||||
- password=${COLLABORA_ADMIN_PASSWORD:-}
|
secrets:
|
||||||
|
- collabora_p
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
@@ -309,7 +311,7 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}_collabora.middlewares=${STACK_NAME}_collabora-cors"
|
- "traefik.http.routers.${STACK_NAME}_collabora.middlewares=${STACK_NAME}_collabora-cors"
|
||||||
|
|
||||||
onlyoffice:
|
onlyoffice:
|
||||||
image: onlyoffice/documentserver-de:10.0.2.1
|
image: onlyoffice/documentserver-de:9.4.1.2
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "curl", "-f", "http://localhost/hosting/discovery" ]
|
test: [ "CMD", "curl", "-f", "http://localhost/hosting/discovery" ]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -348,7 +350,7 @@ services:
|
|||||||
|
|
||||||
|
|
||||||
web:
|
web:
|
||||||
image: nginx:1.31.8
|
image: nginx:1.31.6
|
||||||
configs:
|
configs:
|
||||||
- source: nginx_conf
|
- source: nginx_conf
|
||||||
target: /etc/nginx/conf.d/default.conf
|
target: /etc/nginx/conf.d/default.conf
|
||||||
@@ -420,6 +422,9 @@ secrets:
|
|||||||
minio_ru:
|
minio_ru:
|
||||||
external: true
|
external: true
|
||||||
name: ${STACK_NAME}_minio_ru_${SECRET_MINIO_RU_VERSION}
|
name: ${STACK_NAME}_minio_ru_${SECRET_MINIO_RU_VERSION}
|
||||||
|
collabora_p:
|
||||||
|
external: true
|
||||||
|
name: ${STACK_NAME}_collabora_p_${SECRET_COLLABORA_P_VERSION}
|
||||||
email_pass:
|
email_pass:
|
||||||
external: true
|
external: true
|
||||||
name: ${STACK_NAME}_email_pass_${SECRET_EMAIL_PASS_VERSION}
|
name: ${STACK_NAME}_email_pass_${SECRET_EMAIL_PASS_VERSION}
|
||||||
@@ -1,11 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Use an isolated mc config dir: the bundled Bitnami image runs its own
|
|
||||||
# internal mc client (as the "minio" user) against the default /.mc path,
|
|
||||||
# which collides with this script running as root against the same path.
|
|
||||||
export MC_CONFIG_DIR=/tmp/mc-drive-init
|
|
||||||
|
|
||||||
# Wait for minio to be ready (up to 60 seconds)
|
# Wait for minio to be ready (up to 60 seconds)
|
||||||
i=0
|
i=0
|
||||||
while ! mc ready local 2>/dev/null; do
|
while ! mc ready local 2>/dev/null; do
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
||||||
"extends": [
|
|
||||||
"config:recommended"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user