2 months ago
Hi, I made a mistake editing the variables in the "primary" container and deleted the "WEBHOOK_URL" item, and I can't get it back. Is there any way to revert it to how it was?
4 Replies
2 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • about 2 months ago
2 months ago
IIRC if you deleted variables, there isn’t a way to retrieve them.
0x5b62656e5d
IIRC if you deleted variables, there isn’t a way to retrieve them.
2 months ago
These are the variables. Is any missing? Or is any of them incorrect?
DB_POSTGRESDB_DATABASE="${{Postgres.POSTGRES_DB}}"
DB_POSTGRESDB_HOST="${{Postgres.PGHOST}}"
DB_POSTGRESDB_PASSWORD="${{Postgres.POSTGRES_PASSWORD}}"
DB_POSTGRESDB_PORT="${{Postgres.PGPORT}}"
DB_POSTGRESDB_USER="${{Postgres.POSTGRES_USER}}"
DB_TYPE="postgresdb"
ENABLE_ALPINE_PRIVATE_NETWORKING="true"
EXECUTIONS_MODE="queue"
N8N_EDITOR_BASE_URL="https://${{RAILWAY_PUBLIC_DOMAIN}}"
N8N_ENCRYPTION_KEY="mZlxs2ebxe4pt_xXR9U45FdJUHL99_-d"
N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS="true"
N8N_LISTEN_ADDRESS="::"
N8N_RUNNERS_ENABLED="true"
NODE_OPTIONS="--max_old_space_size=8192"
OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS="true"
PORT="5678"
QUEUE_BULL_REDIS_DUALSTACK="true"
QUEUE_BULL_REDIS_HOST="${{Redis.REDISHOST}}"
QUEUE_BULL_REDIS_PASSWORD="${{Redis.REDIS_PASSWORD}}"
QUEUE_BULL_REDIS_PORT="${{Redis.REDISPORT}}"
QUEUE_BULL_REDIS_USERNAME="${{Redis.REDISUSER}}"
WEBHOOK_URL="https://primary-production-ea77.up.railway.app/"
2 months ago
I would highly recommend you edit that message and remove all variables. You just leaked your n8n encryption key.
2 months ago
add a new variable named WEBHOOK_URL with the value https://${{"Webhook processor".RAILWAY_PUBLIC_DOMAIN}} where Webhook processor is the given service name (defined under RAILWAY_SERVICE_NAME). Hope this helps!
