mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 00:52:21 +03:00
f28edd405f
* Ignore node_modules * Use bash-compatible dotenv format While still being compatible with dotenv, this also allows sourcing the file to export all variables in bash. * Add prettier extension to recommendations * Move to port 5001 to avoid conflict with macOS services * Add workspace * Add devcontainer This automatically starts with all environment variables available locally. It brings up services which are dependent on each other individually and verifies health before moving on to the next service. * Split init into clean, up, and logs tasks. This allows the developer to set up .env and .npmrc files before running services, and does not require starting from a clean db every time the devcontainer is restarted. * Copy .env when creating codespace * Automatically run UP command upon devcontainer creation * Fix log message --------- Co-authored-by: Felix Malfait <felix.malfait@gmail.com>
20 lines
968 B
Plaintext
20 lines
968 B
Plaintext
HASURA_GRAPHQL_METADATA_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/hasura
|
|
HASURA_GRAPHQL_PG_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/default
|
|
HASURA_GRAPHQL_ADMIN_SECRET=secret
|
|
HASURA_GRAPHQL_JWT_SECRET='{"type":"HS256", "key": "jwt-very-long-hard-to-guess-secret"}'
|
|
HASURA_EVENT_HANDLER_URL=http://twenty-server:3000/hasura/events
|
|
|
|
HASURA_AUTH_SERVER_URL=http://localhost:4000
|
|
HASURA_AUTH_CLIENT_URL=http://localhost:3001/auth/callback
|
|
HASURA_AUTH_PROVIDER_GOOGLE_CLIENT_ID=REPLACE_ME
|
|
HASURA_AUTH_PROVIDER_GOOGLE_CLIENT_SECRET=REPLACE_ME
|
|
HASURA_AUTH_GRAPHQL_URL=http://twenty-hasura:8080/v1/graphql
|
|
|
|
FRONT_REACT_APP_API_URL=http://localhost:8080
|
|
FRONT_REACT_APP_AUTH_URL=http://localhost:4000
|
|
FRONT_HASURA_GRAPHQL_ENDPOINT=http://twenty-hasura:8080/v1/graphql
|
|
|
|
SERVER_HASURA_EVENT_HANDLER_SECRET_HEADER=secret
|
|
SERVER_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/default
|
|
|
|
POSTGRES_PASSWORD=postgrespassword |