refactor: remove dockerCommand and redefine ORIGIN env variable sourcing

This commit is contained in:
Raj Nandan Sharma
2026-03-15 13:50:57 +05:30
parent 4f16b06a0f
commit 5803ccadca
+5 -1
View File
@@ -4,7 +4,6 @@ services:
runtime: image runtime: image
image: image:
url: docker.io/rajnandan1/kener:latest url: docker.io/rajnandan1/kener:latest
dockerCommand: sh -c 'ORIGIN=${RENDER_EXTERNAL_URL} exec node build/main.js'
envVars: envVars:
- key: DATABASE_URL - key: DATABASE_URL
fromDatabase: fromDatabase:
@@ -12,6 +11,11 @@ services:
property: connectionString property: connectionString
- key: KENER_SECRET_KEY - key: KENER_SECRET_KEY
generateValue: true generateValue: true
- key: ORIGIN
fromService:
type: web
name: kener
envVarKey: RENDER_EXTERNAL_URL
- key: REDIS_URL - key: REDIS_URL
fromService: fromService:
name: kener-redis name: kener-redis