Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
chore: Update Projeqtor version to 10.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Nouuu committed Mar 21, 2024
1 parent 1c8e8ce commit d68408e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 38 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
76 changes: 40 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:*
Expand All @@ -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

Expand All @@ -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.

Expand Down

0 comments on commit d68408e

Please sign in to comment.