UNPKG

graphcool-cli-core

Version:

124 lines (96 loc) 4.23 kB
############################################################# #### Env vars that will likely stay in the local version #### ############################################################# # Single server export PORT=60000 export FUNCTIONS_PORT=60050 # Functions endpoints export FUNCTION_ENDPOINT_INTERNAL=http://localfaas:60050 export FUNCTION_ENDPOINT_EXTERNAL=http://127.0.0.1:60050 # Service dependencies export SYSTEM_API_SECRET="not-a-secret" export BACKEND_API_SIMPLE_V1_ADDR="http://graphcool:${PORT}/system" export JWT_SECRET="muchsecretwow" export RABBITMQ_URI="amqp://graphcool-rabbit-host" export SQL_CLIENT_HOST="graphcool-db" export SQL_CLIENT_PORT="3306" export SQL_CLIENT_USER="root" export SQL_CLIENT_PASSWORD="graphcool" export SQL_CLIENT_CONNECTION_LIMIT=10 export SQL_LOGS_HOST="graphcool-db" export SQL_LOGS_PORT="3306" export SQL_LOGS_USER="root" export SQL_LOGS_PASSWORD="graphcool" export SQL_LOGS_DATABASE="logs" export SQL_LOGS_CONNECTION_LIMIT=10 export SQL_INTERNAL_HOST="graphcool-db" export SQL_INTERNAL_PORT="3306" export SQL_INTERNAL_USER="root" export SQL_INTERNAL_PASSWORD="graphcool" export SQL_INTERNAL_DATABASE="graphcool" export SQL_INTERNAL_CONNECTION_LIMIT=10 # Local Auth export MASTER_TOKEN="MuchTokenSuchMasterWow" export PRIVATE_CLIENT_API_SECRET="privateClientSecret" export CLIENT_API_ADDRESS="http://graphcool:60000/" ############################################################# #### Env vars that should disappear in the local version #### ############################################################# # Auth0 will disappear export AUTH0_CLIENT_SECRET="" export AUTH0_DOMAIN="" export AUTH0_API_TOKEN="" export BUGSNAG_API_KEY="" export ENVIRONMENT="local" # All kinds of AWS services should vanish export AWS_ACCESS_KEY_ID="notchecked" export AWS_SECRET_ACCESS_KEY="notchecked" export AWS_REGION="eu-west-1" export SNS_ENDPOINT="http://graphcool-aws-services:4575" export SNS_FUNCTION_LOGS="" export SNS_ENDPOINT_SYSTEM="http://graphcool-aws-services:4572" export SNS_SEAT="arn:aws:sns:local:123456789012:crm-loal-Infrastructure-sns-collaborator-signup" export DATA_EXPORT_S3_BUCKET="graphcool-data-export" export DATA_EXPORT_S3_ENDPOINT="http://graphcool-aws-services:4572" export FILEUPLOAD_S3_ENDPOINT="http://graphcool-aws-services:4572" export FILEUPLOAD_S3_BUCKET="files.graph.cool" export FILEUPLOAD_S3_AWS_ACCESS_KEY_ID="notchecked" export FILEUPLOAD_S3_AWS_SECRET_ACCESS_KEY="notchecked" export FILEUPLOAD_AWS_REGION="local" export API_ENDPOINT_EU_WEST_1="http://graphcool:60000/simple/v1" export API_ENDPOINT_US_WEST_2="http://graphcool:60000/simple/v1" export API_ENDPOINT_AP_NORTHEAST_1="http://graphcool:60000/simple/v1" export CLOUDWATCH_ENDPOINT="http://graphcool-aws-services:4582" export KINESIS_ENDPOINT="http://graphcool-aws-services:4568" export KINESIS_STREAM_API_METRICS="graphcool-aws-services" export KINESIS_STREAM_ALGOLIA_SYNC_QUERY="graphcool-aws-services" # export AWS_CBOR_DISABLE=true # AWS Faker export ENABLED_SERVICES="kinesis,sns,cloudwatch,lambda,s3" # Redis should not be required locally export REDIS_HOST="graphcool-redis-host" export REDIS_PORT="6379" # Crm stuff needs to go export CRM_PROJECT_ID="" export STRIPE_API_KEY="" export INITIAL_PRICING_PLAN="2017-02-free" # Any kind of multiregion stuff should go export SQL_CLIENT_HOST_US_WEST_2_CLIENT1="graphcool-db" export SQL_CLIENT_PORT_US_WEST_2="3306" export SQL_CLIENT_USER_US_WEST_2="root" export SQL_CLIENT_PASSWORD_US_WEST_2="graphcool" export SQL_CLIENT_HOST_EU_WEST_1_CLIENT1="graphcool-db" export SQL_CLIENT_PORT_EU_WEST_1="3306" export SQL_CLIENT_USER_EU_WEST_1="root" export SQL_CLIENT_PASSWORD_EU_WEST_1="graphcool" export SQL_CLIENT_HOST_AP_NORTHEAST_1_CLIENT1="graphcool-db" export SQL_CLIENT_PORT_AP_NORTHEAST_1="3306" export SQL_CLIENT_USER_AP_NORTHEAST_1="root" export SQL_CLIENT_PASSWORD_AP_NORTHEAST_1="graphcool" # Schema manager shouldn't be used locally export SCHEMA_MANAGER_ENDPOINT="http://graphcool:60000/schema-manager" export SCHEMA_MANAGER_SECRET="evenmoresecretwow" # Specific to schema invalidation export GLOBAL_RABBIT_URI="amqp://graphcool-rabbit-host" # Blocked projects should simply not be there export BLOCKED_PROJECT_IDS=""