docker/README.md
2023-12-05 17:58:08 +01:00

620 B

  1. Requirements
  • docker
  • mkcert to handle locally trusted SSL certificates.
  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 your /etc/hosts file:
127.0.0.1   wp.lan
127.0.0.1   mz.lan
  1. Start the docker-container via docker-compose up -d

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

  3. Create an administrator user for Mobilizon

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