Event-Federation/docker-local-https-dev-for-activitypub
Archived
1
2
Fork
You've already forked docker-local-https-dev-for-activitypub
3
Docker Compose file to develop ActivityPub with local signed https. Inlcuding WordPress, Gancio and Mobilizon.
This repository has been archived on 2026年06月21日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Shell 38.4%
  • Makefile 34.6%
  • Dockerfile 27%
2025年03月15日 16:51:03 +00:00
.vscode update Readme 2024年07月05日 11:27:29 +02:00
gancio fix gancio 2024年07月05日 11:15:31 +02:00
nginx Updated nginx configuration according to the docker-compose configuration of mobilizon 2025年03月15日 16:51:03 +00:00
wordpress Updated WordPress to the latest version 2025年03月15日 15:59:03 +00:00
.gitignore fix gancio 2024年07月05日 11:15:31 +02:00
docker-compose.yml Fixed port mapping for mobilizon, also updated image to latest build 2025年03月15日 16:51:03 +00:00
LICENSE initial commit 2023年12月09日 12:54:38 +01:00
Makefile fix gancio 2024年07月05日 11:15:31 +02:00
README.md fix: minor README issues and formatting 2024年07月05日 12:34:20 +02:00

This repository helps you to set up a local Mobilizon and a local WordPress instance for developing within minutes. It is still early alpha, if you should try it and get stuck somewhere it most likely our fault, so please reach out to us, and we try to help you.

Step by Step Guide

0. Requirements

  • make
  • docker and docker-compose
  • mkcert to handle locally trusted SSL certificates.

1. Fetch the repository

git clone https://code.event-federation.eu/Event-Federation/docker.git docker && cd docker

2. Clone Mobilizon source relative to this repo

We serve Mobilizon from source, because the latest patches needed are not included in the latest official Docker image.

git clone https://framagit.org/framasoft/mobilizon.git mobilizon/mobilizon

3. Generate a SSL-cert

Generate a local SSL-certificate which is used for both WordPress and Mobilizon.

mkdir certs
mkcert -install -cert-file certs/lan.pem -key-file certs/lan-key.pem wp.lan mz.lan ga.lan

4. Add the two dummy domains to the /etc/hosts file on your machine:

wp: WordPress, mz: Mobilizon, ga: gancio

127.0.0.1 wp.lan
127.0.0.1 mz.lan
127.0.0.1 ga.lan

5. Build Mobilizon

make mobilizon
# Create an administrator user for Mobilizon
make mobilizon_admins

6. Start the docker containers

make start

7. Go to http://wp.lan and setup WordPress

Currently this has to be done manually:

  • Go to https://wp.lan and enter dummy credentials.
  • Install the WordPress plugins you need.

8. Create an administrator user for Gancio

Just navigate to https://ga.lan. The first user registered will be site-administrator.

9. Start developing and debugging

Get the logs via

  • docker-compose logs -f <container_name>
  • make logs