8000 GitHub - imtiazShakil/docker-modx: Docker image for MODX
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

imtiazShakil/docker-modx

 
 

Repository files navigation

About this Repo

This is the Git repo of the Docker image for MODX.

How to use this image

  1. Start docker containers
docker-compose up -d
  1. Copy MODX code into html folder

  2. Visit localhost:8000

Run modx only

If you have mysql setup externally and you want to run modx and connect to the external MySQL, follow steps below:

  1. build modx
docker build -t modx_apache ./apache
  1. Copy MODX code into html folder

  2. Run modx_apache image assuming MySQL installed locally

docker run -d --network=host --volume "$(pwd)/html:/var/www/html" -e MODX_DB_HOST=127.0.0.1:3306 \
-e MODX_DB_PASSWORD=password \
-e MODX_DB_USER=modx \
-e MODX_DB_NAME=modx \
--name modx_apache modx_apache

About

Docker image for MODX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 84.0%
  • Dockerfile 16.0%
0