1amends "../../config/Service.pkl"
2
3meta { name = "Redis Insight" }
4dependsOn { "dawarich" }
5
6secrets {
7 ["encryption_key"] {}
8}
9
10container {
11 image = "docker.io/redis/redisinsight@sha256:0131987fd5fefe3828ed33666f9742bd071b729f5a95cf923c593c14a8995c2c"
12 cpu = 150
13 memory = 512
14
15 http {
16 containerPort = 5540
17 subdomain = "redis"
18 authRole = "infra-admin"
19 checkPath = "/api/health/"
20 }
21
22 volumes {
23 ["/data"] {}
24 }
25
26 env {
27 ["RI_ACCEPT_TERMS_AND_CONDITIONS"] = "true"
28 ["RI_ENCRYPTION_KEY"] = "${secret.own.encryption_key}"
29 ["RI_REDIS_ALIAS"] = "Dawarich Redis"
30 }
31
32 envTemplate = """
33 {{ range nomadService 1 (env "NOMAD_ALLOC_ID") "dawarich-redis" }}RI_REDIS_HOST={{ .Address }}
34 RI_REDIS_PORT={{ .Port }}{{ end }}
35 """
36}