Docker configuration for Debugging WordPress together with Mobilizon
Go to file
2023-12-05 17:49:25 +01:00
files-to-copy/usr/local/etc/php/conf.d initial commit 2023-12-05 17:49:25 +01:00
.env initial commit 2023-12-05 17:49:25 +01:00
.gitignore initial commit 2023-12-05 17:49:25 +01:00
docker-compose.yml initial commit 2023-12-05 17:49:25 +01:00
Dockerfile initial commit 2023-12-05 17:49:25 +01:00
nginx.conf initial commit 2023-12-05 17:49:25 +01:00
README.md initial commit 2023-12-05 17:49:25 +01:00

  1. Install mkcert to handle locally trusted SSL certificates.

  2. 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 your /etc/hosts file:
127.0.0.1   wp.lan
127.0.0.1   mz.lan