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