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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user