Register service to consul.

This commit is contained in:
2023-07-08 06:02:05 +01:00
parent 0f7dc1cbe9
commit c06dec5414

View File

@@ -6,6 +6,12 @@ job "pi.paler.net" {
port "http" { } port "http" { }
} }
service {
name = "pi-paler-net"
tags = [ "web" ]
port = "http"
}
volume "sites-volume" { volume "sites-volume" {
type = "csi" type = "csi"
source = "sites-volume" source = "sites-volume"