mirror of
https://github.com/rajnandan1/kener.git
synced 2026-06-23 04:10:22 +00:00
refactor: remove dockerCommand and redefine ORIGIN env variable sourcing
This commit is contained in:
+5
-1
@@ -4,7 +4,6 @@ services:
|
||||
runtime: image
|
||||
image:
|
||||
url: docker.io/rajnandan1/kener:latest
|
||||
dockerCommand: sh -c 'ORIGIN=${RENDER_EXTERNAL_URL} exec node build/main.js'
|
||||
envVars:
|
||||
- key: DATABASE_URL
|
||||
fromDatabase:
|
||||
@@ -12,6 +11,11 @@ services:
|
||||
property: connectionString
|
||||
- key: KENER_SECRET_KEY
|
||||
generateValue: true
|
||||
- key: ORIGIN
|
||||
fromService:
|
||||
type: web
|
||||
name: kener
|
||||
envVarKey: RENDER_EXTERNAL_URL
|
||||
- key: REDIS_URL
|
||||
fromService:
|
||||
name: kener-redis
|
||||
|
||||
Reference in New Issue
Block a user