Hi, I am using Blues Stack . but having an issue with seeding db which deployed to fly using command flyctl deploy --local-only
.
locally db seeded successfully.
deployed to staging working fine but DB is empty.
any help here will be highly appreciated.
if you need any further information please let me know.
here is a copy of my fly.toml
app = "restaurant-recipe-manager-staging"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[deploy]
release_command = "npx prisma migrate deploy"
[env]
METRICS_PORT = "8081"
PORT = "8080"
[experimental]
allowed_public_ports = []
auto_rollback = true
[metrics]
path = "/metrics"
port = 8081
[[services]]
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.http_checks]]
grace_period = "5s"
interval = "10s"
method = "get"
path = "/healthcheck"
protocol = "http"
timeout = "2s"
tls_skip_verify = false
[services.http_checks.headers]
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
i also have this seed command in my package.json
"prisma": {
"seed": "node prisma/seed.js"
}