From ba6ff1ffd35df69eacbedac049c2eb0cfdc52e8c Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 23 May 2022 19:46:49 +0200 Subject: [PATCH] add file service --- consul_service/file.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 consul_service/file.json diff --git a/consul_service/file.json b/consul_service/file.json new file mode 100644 index 0000000..fe1f7a5 --- /dev/null +++ b/consul_service/file.json @@ -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" + ] + } +}