Mirror of https://github.com/roostorg/coop
github.com/roostorg/coop
1# TODO: Docker Compose is set up to use this single file for running multiple
2# services/tasks, including the migrations, api server, and the models service.
3# That makes it tricky if different serivces need environment variables with the
4# same name, or if each service names its env vars in a way that make sense
5# within the context of that service, but becomes ambiguous when they're all
6# squished together here. That's what's going on with these unprefixed DATABASE_
7# variables, which the API server expects in order to run the tests correctly.
8DATABASE_HOST=postgres
9DATABASE_READ_ONLY_HOST=postgres
10DATABASE_PORT=5432
11DATABASE_NAME=postgres
12DATABASE_USER=postgres
13DATABASE_PASSWORD=postgres123
14
15# Meanwhile, the API_SERVER_ and MODELS_SERVICE_ env vars are used by the
16# migrator service.
17API_SERVER_DATABASE_HOST=postgres
18API_SERVER_DATABASE_READ_ONLY_HOST=postgres
19API_SERVER_DATABASE_PORT=5432
20API_SERVER_DATABASE_NAME=postgres
21API_SERVER_DATABASE_USER=postgres
22API_SERVER_DATABASE_PASSWORD=postgres123
23# These credentials must be available in the environment for us to be able to
24# generate real predictions.
25# MODELS_SERVICE_OPENAI_API_KEY=
26# AWS_DEFAULT_REGION=
27# AWS_ACCESS_KEY_ID=
28# AWS_SECRET_ACCESS_KEY=
29
30SESSION_SECRET=some_long_secret_string
31
32CLICKHOUSE_PROTOCOL=http
33CLICKHOUSE_HOST=clickhouse
34CLICKHOUSE_PORT=8123
35CLICKHOUSE_USERNAME=default
36CLICKHOUSE_PASSWORD=clickhouse
37CLICKHOUSE_DATABASE=analytics
38CLICKHOUSE_MIGRATIONS_TABLE=MIGRATIONS_METADATA
39
40SCYLLA_USERNAME=cassandra
41SCYLLA_PASSWORD=cassandra
42SCYLLA_HOSTS='scylla'
43SCYLLA_LOCAL_DATACENTER='datacenter1'
44SCYLLA_KEYSPACE='item_investigation_service'
45SCYLLA_REPLICATION_CLASS='SimpleStrategy'
46SCYLLA_REPLICATION_FACTOR='1'
47SCYLLA_COMPACTION_STRATEGY='SizeTieredCompactionStrategy'
48SCYLLA_HAS_ENTERPRISE_FEATURES='false'
49
50GRAPHQL_MAX_DEPTH=10
51EXPOSE_SENSITIVE_IMPLEMENTATION_DETAILS_IN_ERRORS=true
52ALLOW_USER_INPUT_LOCALHOST_URIS=true
53SEQUELIZE_PRINT_LOGS=true
54
55GROQ_SECRET_KEY=
56
57# Other API Keys
58SENDGRID_API_KEY=
59GOOGLE_PLACES_API_KEY=
60READ_ME_JWT_SECRET=
61LAUNCHDARKLY_SECRET=
62OPEN_AI_API_KEY=
63GRAPHQL_OPAQUE_SCALAR_SECRET=some_long_secret_string
64
65
66REDIS_USE_CLUSTER=false
67REDIS_HOST=redis
68REDIS_PORT=6379
69
70OTEL_SERVICE_NAME=COOP_TEST_SERVICE
71
72NODE_ENV=CI
73
74ITEM_QUEUE_TRAFFIC_PERCENTAGE='0'
75UI_URL=https://getcoop.com
76
77ENABLE_DEMO_REQUEST=false