Compare commits
43
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93c9d1a9b0 | ||
|
|
cd62253078 | ||
|
|
6b33c50167 | ||
|
|
546b7a2c74 | ||
|
|
34742958d5 | ||
|
|
7144606b15 | ||
|
|
96f4c4e5e4 | ||
|
|
1e7d27178d | ||
|
|
ed147f2969 | ||
|
|
bc291566f7 | ||
|
|
5a38a20c44 | ||
|
|
863691f412 | ||
|
|
a3873fa456 | ||
|
|
fecfa66ebc | ||
|
|
2183d03860 | ||
|
|
8935f1e3bd | ||
|
|
1ed910dfb0 | ||
|
|
58e11f4439 | ||
|
|
726f4e8f28 | ||
|
|
e3146f3ca2 | ||
|
|
782e3f0965 | ||
|
|
ce5308c7f5 | ||
|
|
95489da91f | ||
|
|
217fb7da0d | ||
|
|
f89cbbc046 | ||
|
|
8324cf2730 | ||
|
|
2662398786 | ||
|
|
7f0164cb00 | ||
|
|
a02dd080ac | ||
|
|
4d80b26a64 | ||
|
|
8ac8c5a293 | ||
|
|
a5e67e55de | ||
|
|
c3b6b72232 | ||
|
|
543a017fdd | ||
|
|
077ea217e1 | ||
|
|
ed2617026b | ||
|
|
9beb089d10 | ||
|
|
1e578b0712 | ||
|
|
119bbae335 | ||
|
|
1935df02e7 | ||
|
|
e39f0e8ca3 | ||
|
|
d9adb88d40 | ||
|
|
802d7e8477 |
+5
-4
@@ -28,8 +28,6 @@ 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
|
||||||
@@ -77,9 +75,12 @@ LOGGING_LEVEL_LOGGERS_APP=INFO
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
# COLLABORA ADMIN PANEL
|
# COLLABORA ADMIN PANEL
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Username for the Collabora admin panel (https://COLLABORA_DOMAIN/browser/dist/admin/admin.html)
|
# Credentials for the Collabora admin panel (https://COLLABORA_DOMAIN/browser/dist/admin/admin.html)
|
||||||
# Password is managed via Docker secret 'collabora_p'
|
# Since collabora 26.04 (image execs coolwsd directly; no shell in the image), the panel
|
||||||
|
# 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
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# 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,8 +92,3 @@ 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=v1
|
export MINIO_INITIALIZE_VERSION=v2
|
||||||
|
|
||||||
environment() {
|
environment() {
|
||||||
# this exports all the secrets as environment variables
|
# this exports all the secrets as environment variables
|
||||||
|
|||||||
+20
-25
@@ -95,14 +95,14 @@ services:
|
|||||||
|
|
||||||
app:
|
app:
|
||||||
user: "${DOCKER_USER:-1000}"
|
user: "${DOCKER_USER:-1000}"
|
||||||
image: lasuite/drive-frontend:v0.19.0
|
image: lasuite/drive-frontend:v0.25.2
|
||||||
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.10.1+v0.19.0"
|
- "coop-cloud.${STACK_NAME}.version=0.13.3+v0.22.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.19.0
|
image: lasuite/drive-backend:v0.25.2
|
||||||
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.19.0
|
image: lasuite/drive-backend:v0.25.2
|
||||||
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.19.0
|
image: lasuite/drive-backend:v0.25.2
|
||||||
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.8.0
|
image: redis:8.10.2
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "redis-cli", "ping"]
|
test: ["CMD", "redis-cli", "ping"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@@ -224,12 +224,13 @@ services:
|
|||||||
- backend
|
- backend
|
||||||
|
|
||||||
mailcatcher:
|
mailcatcher:
|
||||||
image: sj26/mailcatcher:v0.10.0
|
image: sj26/mailcatcher:v0.11.0
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
|
||||||
minio:
|
minio:
|
||||||
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
|
image: bitnamilegacy/minio:2025.7.23-debian-12-r5
|
||||||
|
user: root
|
||||||
environment: *minio-env
|
environment: *minio-env
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "mc", "ready", "local"]
|
test: ["CMD", "mc", "ready", "local"]
|
||||||
@@ -239,11 +240,11 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
- proxy
|
- proxy
|
||||||
command: minio server /data
|
command: /opt/bitnami/scripts/minio/run.sh
|
||||||
entrypoint: >
|
entrypoint: >
|
||||||
sh -c "/minio-initialize.sh & exec /usr/bin/docker-entrypoint.sh \"$$@\"" --
|
sh -c "/minio-initialize.sh & exec /opt/bitnami/scripts/minio/entrypoint.sh \"$$@\"" --
|
||||||
volumes:
|
volumes:
|
||||||
- minio:/data
|
- minio:/bitnami/minio/data
|
||||||
configs:
|
configs:
|
||||||
- source: abra_entrypoint
|
- source: abra_entrypoint
|
||||||
target: /abra-entrypoint.sh
|
target: /abra-entrypoint.sh
|
||||||
@@ -273,13 +274,12 @@ services:
|
|||||||
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
|
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
|
||||||
|
|
||||||
collabora:
|
collabora:
|
||||||
image: collabora/code:25.04.9.4.1
|
image: collabora/code:26.04.5.1.1
|
||||||
entrypoint: >
|
# 26.04 images exec coolwsd directly (no shell in the image), so ssl options are passed as
|
||||||
sh -c "
|
# args and the panel password comes from the env instead of a Docker secret.
|
||||||
export password=\"$$(cat /run/secrets/collabora_p)\" &&
|
command: ["--o:ssl.enable=false", "--o:ssl.termination=true"]
|
||||||
exec /start-collabora-online.sh"
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "curl", "-f", "http://localhost:9980/hosting/discovery" ]
|
test: [ "CMD", "/usr/bin/coolwsd", "--probe", "--o:ssl.enable=false" ]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: 60s
|
start_period: 60s
|
||||||
@@ -288,11 +288,9 @@ 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}
|
||||||
secrets:
|
- password=${COLLABORA_ADMIN_PASSWORD:-}
|
||||||
- collabora_p
|
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
@@ -311,7 +309,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:9.3.1.2
|
image: onlyoffice/documentserver-de:10.0.0.1
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "curl", "-f", "http://localhost/hosting/discovery" ]
|
test: [ "CMD", "curl", "-f", "http://localhost/hosting/discovery" ]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -350,7 +348,7 @@ services:
|
|||||||
|
|
||||||
|
|
||||||
web:
|
web:
|
||||||
image: nginx:1.31.2
|
image: nginx:1.31.8
|
||||||
configs:
|
configs:
|
||||||
- source: nginx_conf
|
- source: nginx_conf
|
||||||
target: /etc/nginx/conf.d/default.conf
|
target: /etc/nginx/conf.d/default.conf
|
||||||
@@ -422,9 +420,6 @@ 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,6 +1,11 @@
|
|||||||
#!/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
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:recommended"
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user