From 55eb86ff0c78c3741af7959963ebc1aa191a3583 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Tue, 13 May 2025 11:09:19 +0200 Subject: [PATCH] feat: update readme --- README.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d2ab388..3c17d64 100644 --- a/README.md +++ b/README.md @@ -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