You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DOCUMENTATION/content/documentation/index.md
+81-1Lines changed: 81 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1121,6 +1121,87 @@ docker-compose up -d grafana
1121
1121
1122
1122
1123
1123
1124
+
<br>
1125
+
<aname="Use-Traefik"></a>
1126
+
## Use Traefik
1127
+
1128
+
To use Traefik you need to do some changes in `traefik/trafik.toml` and `docker-compose.yml`.
1129
+
1130
+
1 - Open `traefik.toml` and change the `e-mail` property in `acme` section.
1131
+
1132
+
2 - Change your domain in `acme.domains`. For example: `main = "example.org"`
1133
+
1134
+
2.1 - If you have subdomains, you must add them to `sans` property in `acme.domains` section.
1135
+
1136
+
```bash
1137
+
[[acme.domais]]
1138
+
main = "example.org"
1139
+
sans = ["monitor.example.org", "pma.example.org"]
1140
+
```
1141
+
1142
+
3 - If you need to add basic authentication (https://docs.traefik.io/configuration/entrypoints/#basic-authentication), you just need to add the following text after `[entryPoints.https.tls]`:
1143
+
1144
+
```bash
1145
+
[entryPoints.https.auth.basic]
1146
+
users = ["user:password"]
1147
+
```
1148
+
1149
+
4 - You need to change the `docker-compose.yml` file to match the Traefik needs. If you want to use Traefik, you must not expose the ports of each container to the internet, but specify some labels.
1150
+
1151
+
4.1 For example, let's try with NGINX. You must have:
0 commit comments