/modx-docker

Modx docker integration. This is a modified version of the FPM variant of the official Docker Image.

Primary LanguageShell

Docker for modx revolution

This is a modified version of the FPM variant of the official Docker Image.

Simplified Usage

  1. Copy the .env.example file to .env
    1. Change domain name in Caddyfile from localhost to your domain name, for example: {your-domain-name} { ... }
  2. Run docker-compose up
  3. The Webserver will now listen on Ports 80 and 443
  4. Copy MODX code into html folder
  5. Visit http://localhost/manager for local dev and https://{your-domain}/manager for prod env
  6. Turn on Friendly URLs in the system settings: systemSettings

Additional information

  1. For changing php version you have to change build/Dockerfile: FROM php:8.1-fpm-alpine
  2. For changing modx version you have to change build/Dockerfile: ARG MODX_VERSION=3.0.2
    1. The last version of modx is located here
  3. The Caddy web server is an extensible, cross-platform, open-source web server written in Go. More information here