add syno service to consul
This commit is contained in:
parent
3517d72a87
commit
e0b862a401
13
consul_service/syno.json
Normal file
13
consul_service/syno.json
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user