feat: update readme

This commit is contained in:
max_richter 2025-05-13 11:09:19 +02:00
parent ed099f6f1a
commit 55eb86ff0c
Signed by: max
GPG Key ID: 51973802EF3F77C5

View File

@ -21,11 +21,33 @@ docker compose up -d
3. Trust the Step-CA root certificate:
```bash
# Linux
curl -k https://localhost:9000/roots.pem -o roots.pem
sudo trust anchor --store roots.pem
rm roots.pem
```
### Linux
```bash
curl -k https://localhost:9000/roots.pem -o roots.pem
sudo trust anchor --store roots.pem
rm roots.pem
```
### Windows
```powershell
Invoke-WebRequest -Uri "https://localhost:9000/roots.pem" -OutFile "roots.pem"
Import-Certificate -FilePath "roots.pem" -CertStoreLocation "Cert:\LocalMachine\Root"
Remove-Item "roots.pem"
```
### macOS
```bash
curl -k https://localhost:9000/roots.pem -o roots.pem
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain roots.pem
rm roots.pem
```
## How to Use
1. Add a label to your docker compose service:
@ -80,8 +102,7 @@ Replace `.dev.local` with your custom domain suffix in the `config/dns/config.sa
Remove the dns_config volume
```bash
docker compose down
docker compose volume rm dns_config
docker compose up -d
docker compose up -d --force-recreate
```
### Custom Domain Per Service