forked from Deuxfleurs/nixcfg
Tricot version 39
This commit is contained in:
parent
bdcb1760ed
commit
0561fa8d5f
1 changed files with 8 additions and 2 deletions
|
@ -4,6 +4,12 @@ job "frontend" {
|
||||||
priority = 90
|
priority = 90
|
||||||
|
|
||||||
group "tricot" {
|
group "tricot" {
|
||||||
|
# Temporarily pin to single machine, remove this later
|
||||||
|
constraint {
|
||||||
|
attribute = "${attr.unique.hostname}"
|
||||||
|
value = "courgette"
|
||||||
|
}
|
||||||
|
|
||||||
network {
|
network {
|
||||||
port "http_port" { static = 80 }
|
port "http_port" { static = 80 }
|
||||||
port "https_port" { static = 443 }
|
port "https_port" { static = 443 }
|
||||||
|
@ -13,7 +19,7 @@ job "frontend" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "lxpz/amd64_tricot:37"
|
image = "lxpz/amd64_tricot:39"
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
readonly_rootfs = true
|
readonly_rootfs = true
|
||||||
ports = [ "http_port", "https_port" ]
|
ports = [ "http_port", "https_port" ]
|
||||||
|
@ -60,7 +66,7 @@ TRICOT_CONSUL_CLIENT_CERT=/etc/tricot/consul-client.crt
|
||||||
TRICOT_CONSUL_CLIENT_KEY=/etc/tricot/consul-client.key
|
TRICOT_CONSUL_CLIENT_KEY=/etc/tricot/consul-client.key
|
||||||
TRICOT_HTTP_BIND_ADDR=[::]:80
|
TRICOT_HTTP_BIND_ADDR=[::]:80
|
||||||
TRICOT_HTTPS_BIND_ADDR=[::]:443
|
TRICOT_HTTPS_BIND_ADDR=[::]:443
|
||||||
RUST_LOG=tricot=debug
|
RUST_LOG=tricot=trace
|
||||||
EOH
|
EOH
|
||||||
destination = "secrets/env"
|
destination = "secrets/env"
|
||||||
env = true
|
env = true
|
||||||
|
|
Loading…
Reference in a new issue