add syno service to consul

This commit is contained in:
vincent 2022-05-09 08:50:52 +02:00
parent 3517d72a87
commit e0b862a401

13
consul_service/syno.json Normal file
View File

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