Skip to content

Add Docker Compose support for one-command installation#219

Open
logicguy1 wants to merge 8 commits intomasterfrom
docker-setup
Open

Add Docker Compose support for one-command installation#219
logicguy1 wants to merge 8 commits intomasterfrom
docker-setup

Conversation

@logicguy1
Copy link
Contributor

What are the changes about?

  • Adds a complete Docker Compose setup (Dockerfile, docker-compose.yml, docker-entrypoint.sh) so the system can be run with a single docker compose up --build command
  • Services included: PHP 8.3 + Apache (web), PostgreSQL 16 (database), Mailpit (email catcher), Adminer (database browser)
  • All outgoing emails are caught by Mailpit by default; users can configure a real SMTP server via a .env file without rebuilding the image
  • Fixes PHP 8 undefined array key warnings in index/install.php by using the safe if_isset($array, $default, $key) calling convention
  • Adds INSTALLATION.md with two collapsible sections, one preserving the original standard installation instructions verbatim, one covering the Docker Compose setup

What's included

File Purpose
Dockerfile PHP 8.3 + Apache with pgsql, pdftk, ghostscript, msmtp
docker-compose.yml Orchestrates web, postgres, mailpit, adminer
docker-entrypoint.sh Sets permissions, installs Composer deps, generates msmtp config from env vars
.env.example SMTP configuration template for users
INSTALLATION.md Updated installation guide with standard + Docker sections

Have you checked the following?

@logicguy1 logicguy1 changed the title Docker setup Add Docker Compose support for one-command installation Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant