add file service

This commit is contained in:
vincent 2022-05-23 19:46:49 +02:00
parent a37075aad0
commit ba6ff1ffd3

13
consul_service/file.json Normal file
View File

@ -0,0 +1,13 @@
{
"Service": {
"Name": "file",
"address": "192.168.1.10",
"port": 7000,
"tags": [
"traefik.enable=true",
"traefik.http.routers.file.rule=Host(`file.ducamps.win`)",
"traefik.http.routers.file.tls.domains[0].sans=file.ducamps.win",
"traefik.http.routers.file.tls.certresolver=myresolver"
]
}
}