-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
34 lines (27 loc) · 837 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Postgres
POSTGRES_HOSTNAME=postgres
POSTGRES_PORT=5432
POSTGRES_DB=production
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
# Redis cache
REDIS_HOST=redis
REDIS_PORT=6379
# Resources
DATABASE_HOSTNAME="${POSTGRES_HOSTNAME}"
DATABASE_PORT="${POSTGRES_PORT}"
DATABASE_NAME="${POSTGRES_DB}"
CACHE_ADDRESS="${REDIS_HOST}:${REDIS_PORT}"
# Private services
USER_SERVICE_PORT="8010"
ACCOUNT_SERVICE_PORT="8020"
# Public services
GRAPHQL_PUBLIC_SERVICE_PORT="8080"
GRAPHQL_PUBLIC_SERVICE_ALLOWED_ORIGINS=`["http://localhost:4000","http://localhost:4050"]`
GRAPHQL_PLAYGROUND_FOR_IP=all
USER_SERVICE_ADDRESS="user:${USER_SERVICE_PORT}"
ACCOUNT_SERVICE_ADDRESS="account:${ACCOUNT_SERVICE_PORT}"
SESSION_KEY="<session_key>"
# RSA keys for the development environment.
PRIVATE_RSA_PATH = "./private.pem"
PUBLIC_RSA_PATH = "./public.pem"