From d68408eb4e76ab687a260301d1562ff270b2a6b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Larrieu-Lacoste?= Date: Thu, 21 Mar 2024 14:53:31 +0100 Subject: [PATCH] chore: Update Projeqtor version to 10.4.5 --- Dockerfile | 4 +-- README.md | 76 ++++++++++++++++++++++++++++-------------------------- 2 files changed, 42 insertions(+), 38 deletions(-) diff --git a/Dockerfile b/Dockerfile index 44b5c30..c2e9527 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,13 +5,13 @@ # PJT_EXTRACT_DIR: the directory name to extract the to # PJT_ARCHIVE_URL: the URL to download ProjeQtOr ARG PHP_VERSION=8.2 -ARG PJT_VERSION=10.4.3 +ARG PJT_VERSION=10.4.5 ARG PJT_ARCHIVE_NAME=projeqtorV${PJT_VERSION}.zip ARG PJT_EXTRACT_DIR=projeqtor ARG PJT_ARCHIVE_URL=https://freefr.dl.sourceforge.net/project/projectorria/projeqtorV${PJT_VERSION}.zip # Stage 1: Base. Prepares the base image for our Docker build -FROM debian:11-slim AS base +FROM debian:bookworm-slim AS base ARG PJT_ARCHIVE_URL ARG PJT_ARCHIVE_NAME ARG PJT_EXTRACT_DIR diff --git a/README.md b/README.md index 59985df..52f71d1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Docker-Projeqtor +> ⚠️ This project will no longer be maintained. If you want to upgrade to the latest version of Projeqtor, you could try +> to update the version ARGS in Dockerfile and rebuild the image. + Docker image for [Projeqtor](https://www.projeqtor.org) with LDAP support. *This image is derived from various `php-apache` versions:* @@ -10,7 +13,7 @@ Docker image for [Projeqtor](https://www.projeqtor.org) with LDAP support. The **available Projeqtor tags** in this image include: -- latest, 10.4.3, 10.4.2, 10.4.0, 10.3.6, 10.3.0, 10.2.3, 10.2.1, 10.1.3, 10.1.2, 9.5.4, 9.4.2, 9.2.2, 9.1.2, and 9.0.6. +- latest, 10.4.5, 10.4.3, 10.4.2, 10.4.0, 10.3.6, 10.3.0, 10.2.3, 10.2.1, 10.1.3, 10.1.2, 9.5.4, 9.4.2, 9.2.2, 9.1.2, and 9.0.6. ## Technical Specifications @@ -30,50 +33,51 @@ The **available Projeqtor tags** in this image include: ### PHP Environment Variables -| Variable | Default | Description | -|-------------------------------|---------|------------------------------------------------------------------------| -| PHP_MAX_INPUT_VARS | 4000 | Recommended > 2000 for real work allocation screen | -| PHP_REQUEST_TERMINATE_TIMEOUT | 0 | Set to allow cron to run without termination | -| PHP_MAX_EXECUTION_TIME | 30 | Minimum recommended setting is 30 | -| PHP_MEMORY_LIMIT | 512M | Minimum recommended setting is 512M for PDF generation | +| Variable | Default | Description | +|-------------------------------|---------|--------------------------------------------------------| +| PHP_MAX_INPUT_VARS | 4000 | Recommended > 2000 for real work allocation screen | +| PHP_REQUEST_TERMINATE_TIMEOUT | 0 | Set to allow cron to run without termination | +| PHP_MAX_EXECUTION_TIME | 30 | Minimum recommended setting is 30 | +| PHP_MEMORY_LIMIT | 512M | Minimum recommended setting is 512M for PDF generation | ### Projeqtor Environment Variables -| Variable | Default | Description | -|------------------------------|-----------|--------------------------------------------------------------------------------------------| -| PJT_DB_TYPE | mysql | Can be `mysql` or `pgsql` | -| PJT_DB_HOST | 127.0.0.1 | Server name | -| PJT_DB_PORT | 3306 | Database port | -| PJT_DB_USER | root | User to connect database | -| PJT_DB_PASSWORD | root | Password for database user | -| PJT_DB_NAME | projeqtor | Database schema name | -| PJT_DB_PREFIX | `empty` | Prefix for table names | -| PJT_SSL_KEY | `empty` | SSL Certificate key path | -| PJT_SSL_CERT | `empty` | SSL Certificate path | -| PJT_SSL_CA | `empty` | SSL Certificate CA path | -| PJT_ATTACHMENT_MAX_SIZE_MAIL | 2097152 | Max file size in email | -| PJT_LOG_LEVEL | 2 | Log level ('4' for tracing, '3' for debug, '2' for trace, '1' for error, '0' for none) | -| PJT_ENFORCE_UTF8 | 1 | | +| Variable | Default | Description | +|------------------------------|-----------|----------------------------------------------------------------------------------------| +| PJT_DB_TYPE | mysql | Can be `mysql` or `pgsql` | +| PJT_DB_HOST | 127.0.0.1 | Server name | +| PJT_DB_PORT | 3306 | Database port | +| PJT_DB_USER | root | User to connect database | +| PJT_DB_PASSWORD | root | Password for database user | +| PJT_DB_NAME | projeqtor | Database schema name | +| PJT_DB_PREFIX | `empty` | Prefix for table names | +| PJT_SSL_KEY | `empty` | SSL Certificate key path | +| PJT_SSL_CERT | `empty` | SSL Certificate path | +| PJT_SSL_CA | `empty` | SSL Certificate CA path | +| PJT_ATTACHMENT_MAX_SIZE_MAIL | 2097152 | Max file size in email | +| PJT_LOG_LEVEL | 2 | Log level ('4' for tracing, '3' for debug, '2' for trace, '1' for error, '0' for none) | +| PJT_ENFORCE_UTF8 | 1 | | ## Installed PHP Extensions -| Extension | Purpose | -|-----------|---------------------------------------------------------| -| gd | For reports graphs | -| imap | To retrieve mails to insert reply as notes | -| mbstring | Necessary for UTF-8 compatibility | -| mysqli | For default MySql database | -| pgsql | For PostgreSql database | -| pdo | Database connector | -| pdo_mysql | For default MySql database | -| pdo_pgsql | For PostgreSql database | -| openssl | For mails if SMTP access is authenticated | -| ldap | To access "Directory Servers" | -| zip | Required for plugins management/export to Excel format | +| Extension | Purpose | +|-----------|--------------------------------------------------------| +| gd | For reports graphs | +| imap | To retrieve mails to insert reply as notes | +| mbstring | Necessary for UTF-8 compatibility | +| mysqli | For default MySql database | +| pgsql | For PostgreSql database | +| pdo | Database connector | +| pdo_mysql | For default MySql database | +| pdo_pgsql | For PostgreSql database | +| openssl | For mails if SMTP access is authenticated | +| ldap | To access "Directory Servers" | +| zip | Required for plugins management/export to Excel format | ## Start the Stack -Proceed with the following [Docker Compose](./docker-compose.yml.example), which I use to deploy a Projeqtor stack with a MySQL database. +Proceed with the following [Docker Compose](./docker-compose.yml.example), which I use to deploy a Projeqtor stack with +a MySQL database. During the first deployment, Admin login might be required (on the Projeqtor login page) for DB initialization.