mirror of
https://github.com/lingble/twenty.git
synced 2025-10-30 20:27:55 +00:00
* chore: inject enviroment at the deployment phase (#2174) * Dockerfile CMD env.sh * env.sh generates env-config.js file * index.html imports env-config.js * front/src/config/index.ts imports REACT_APP_SERVER_BASE_URL * Upgrade Dockerfiles * Add compute pg_database_url for render * fix tests --------- Co-authored-by: Charles Bochet <charles@twenty.com>
2 lines
88 B
Bash
Executable File
2 lines
88 B
Bash
Executable File
#!/bin/sh
|
|
export PG_DATABASE_URL=postgres://twenty:twenty@$PG_DATABASE_HOST:5432/default |