feat: update readme a bit more
This commit is contained in:
parent
516eb78832
commit
e78200d150
14
README.md
14
README.md
@ -1,5 +1,7 @@
|
||||
# Local HTTPS with Traefik and Step-CA
|
||||
|
||||
Created by [@Sajito](https://github.com/Sajito)
|
||||
|
||||
This setup enables automatic HTTPS and local domain routing for Docker Compose services. Traefik uses Step-CA to issue certificates and route .dev.local domains securely with minimal configuration.
|
||||
|
||||
## Setup
|
||||
@ -30,7 +32,17 @@ labels:
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
If certificates are not renewed or have expired
|
||||
- If routes do not work you can open the traefik dashboard under [https://traefik.vm](https://traefik.vm) and check if the service and route exist.
|
||||
|
||||
- If your service is not reachable it could mean that traefik did not detect the correct port. You can set the port manually in your docker compose file:
|
||||
```yaml
|
||||
labels:
|
||||
traefik.http.services.my-app.loadbalancer.server.port: 8080
|
||||
```
|
||||
> [!IMPORTANT]
|
||||
> For each overwritten port you need to specify a custom `service-label` `traefik.http.services.[service-label]`. Otherwise the custom port will not be detected.
|
||||
|
||||
- If certificates are not renewed or have expired
|
||||
```bash
|
||||
docker compose up -d --force-recreate traefik
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user