-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.env
27 lines (27 loc) · 826 Bytes
/
example.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
VERSION='v1'
BASE_URL_PATH='/api/v1'
SHORTENED_URL_BASE='http://localhost:8000'
TOKEN_URI='http://localhost:8000/api/v1/auth/token'
LOGOUT_REDIRECT_URI='http://localhost:8000/api/v1/info'
APP_NAME='Shorten API'
ADMIN_EMAIL='[email protected]'
DATABASE='postgresql'
PG_USERNAME=<database username>
PG_PASSWORD=<database password>
PG_DATABASE_NAME='shortener_db'
PG_HOST=<database host>
PG_PORT=5432
CACHE_HOST=<cache host>
CACHE_PORT=6379
CACHE_USERNAME=<cache username>
CACHE_PASSWORD=<cache password>
CACHE_DB='0'
AUTH0_CLIENT_ID=<Auth0 client id>
AUTH0_CLIENT_SECRET=<Auth0 client secret>
AUTH0_DOMAIN=<Auth0 domain>
AUTH0_ALGORITHMS='RS256'
AUTH0_API_AUDIENCE='https://shortenapi.com'
AUTH0_ISSUER=<Auth0 issuer>
SQUARE_ACCESS_TOKEN=<Square access token>
SQUARE_ENVIRONMENT='sandbox'
APP_SECRET_KEY=<App secret key>