resources
This commit is contained in:
@@ -20,7 +20,7 @@ job "postgres" {
|
||||
}
|
||||
|
||||
network {
|
||||
mode = "host"
|
||||
#mode = "host"
|
||||
port "postgres"{
|
||||
static = 5432
|
||||
}
|
||||
@@ -28,10 +28,10 @@ job "postgres" {
|
||||
service {
|
||||
name = "postgres"
|
||||
port = "postgres"
|
||||
#tags = [
|
||||
# "traefik.enable=true",
|
||||
# "traefik.tcp.routers.postgres.rule=Host(`postgres.service.nr5`)",
|
||||
#]
|
||||
tags = [
|
||||
"traefik.enable=true",
|
||||
"traefik.tcp.routers.postgres.rule=Host(`postgres.service.nr5`)",
|
||||
]
|
||||
}
|
||||
task "postgres" {
|
||||
driver = "podman"
|
||||
|
||||
Reference in New Issue
Block a user