docker/README.md

17 lines
415 B
Markdown
Raw Normal View History

2023-12-05 17:49:25 +01:00
2023-12-05 17:53:38 +01:00
1. Requirements
- docker
- `mkcert` to handle locally trusted SSL certificates.
2023-12-05 17:49:25 +01:00
2. Generate a local certificate which is used for both WordPress and Mobilizon.
```bash
mkcert -install -cert-file certs/lan.pem -key-file certs/lan-key.pem wp.lan mz.lan
```
2023-12-05 17:53:38 +01:00
2023-12-05 17:49:25 +01:00
3. Add the two dummy domains to your /etc/hosts file:
```
127.0.0.1 wp.lan
127.0.0.1 mz.lan
```
2023-12-05 17:53:38 +01:00
4. Start the docker-container via `docker-compose up -d`