add traefik network example

This commit is contained in:
Xerusion
2026-01-31 19:33:51 +07:00
committed by GitHub
parent b94f5b5963
commit 6e87758cf6

View File

@@ -13,6 +13,17 @@ You can setup auto renewing certificates with different kinds of [acme challenge
### Router configurations ### Router configurations
Add tuwunel to your traefik's network. Add tuwunel to your traefik's network.
```yaml
services:
tuwunel:
# ...
networks:
- proxy # your traefik network name
networks:
proxy: # your traefik network name
external: true
```
Be sure to change the `your.server.name` to your actual tuwunel domain. and the `yourcertresolver` should be changed to whatever you named it in your traefik config. Be sure to change the `your.server.name` to your actual tuwunel domain. and the `yourcertresolver` should be changed to whatever you named it in your traefik config.
You only have to do any one of these methods below. You only have to do any one of these methods below.