feat: update readme
This commit is contained in:
parent
ed099f6f1a
commit
55eb86ff0c
25
README.md
25
README.md
@ -21,11 +21,33 @@ docker compose up -d
|
|||||||
|
|
||||||
3. Trust the Step-CA root certificate:
|
3. Trust the Step-CA root certificate:
|
||||||
```bash
|
```bash
|
||||||
|
# Linux
|
||||||
curl -k https://localhost:9000/roots.pem -o roots.pem
|
curl -k https://localhost:9000/roots.pem -o roots.pem
|
||||||
sudo trust anchor --store roots.pem
|
sudo trust anchor --store roots.pem
|
||||||
rm 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
|
## How to Use
|
||||||
|
|
||||||
1. Add a label to your docker compose service:
|
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
|
Remove the dns_config volume
|
||||||
```bash
|
```bash
|
||||||
docker compose down
|
docker compose down
|
||||||
docker compose volume rm dns_config
|
docker compose up -d --force-recreate
|
||||||
docker compose up -d
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Custom Domain Per Service
|
### Custom Domain Per Service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user