Connect Redis Docker Image Error: getaddrinfo

2023-04-29T09:51:47.463 app[908040ef132787] sin [info] Error: getaddrinfo ENOTFOUND bill-redis.internal

2023-04-29T09:51:47.463 app[908040ef132787] sin [info] at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) {

2023-04-29T09:51:47.463 app[908040ef132787] sin [info] errno: -3007,

2023-04-29T09:51:47.463 app[908040ef132787] sin [info] code: ‘ENOTFOUND’,

2023-04-29T09:51:47.463 app[908040ef132787] sin [info] syscall: ‘getaddrinfo’,

this my fly.toml

# fly.toml app configuration file generated for bill-redis on 2023-04-29T16:33:50+07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "bill-redis"
primary_region = "sin"
kill_signal = "SIGINT"
kill_timeout = "5s"

[build]
  image = "flyio/redis:6.2.6"

[env]
  MAXMEMORY_POLICY = "noeviction"
  PRIMARY_REGION = "sin"

[[mounts]]
  source = "redis_data_machines"
  destination = "/data"
  processes = ["app"]

[metrics]
  port = 9091
  path = "/metrics"

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.