Docker configuration for Debugging WordPress together with Mobilizon
Go to file
2023-12-07 19:08:52 +01:00
files-to-copy/usr/local/etc/php/conf.d initial commit 2023-12-05 17:49:25 +01:00
.gitignore add mobilizon folder to gitignore 2023-12-06 19:42:52 +01:00
docker-compose.yml wip 2023-12-07 19:08:52 +01:00
Dockerfile-WordPress wip 2023-12-06 19:45:57 +01:00
LICENSE Initial commit 2023-12-05 17:48:10 +01:00
Makefile wip 2023-12-07 19:08:52 +01:00
nginx.conf initial commit 2023-12-05 17:49:25 +01:00
README.md typo 2023-12-06 19:46:11 +01:00

  1. Requirements
  • docker
  • mkcert to handle locally trusted SSL certificates.
  1. Clone mobilizon source
git clone https://framagit.org/framasoft/mobilizon.git
  1. Generate a local certificate which is used for both WordPress and Mobilizon.
mkcert -install -cert-file certs/lan.pem -key-file certs/lan-key.pem wp.lan mz.lan
  1. Add the two dummy domains to the /etc/hosts file on your machine:
127.0.0.1   wp.lan
127.0.0.1   mz.lan
  1. Build Mobilizon via running `make setup``

  2. Start the docker containers via docker-compose up -d

  3. Go to https://wp.lan and setup WordPress

  4. Create an administrator user for Mobilizon

docker-compose exec mobilizon mobilizon_ctl users.new "your@email.com" --admin --password "abc"