forked from unisoncomputing/share-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal.env
32 lines (29 loc) · 1.17 KB
/
local.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
#!/bin/bash
# Stub environment
export SHARE_DEPLOYMENT=local
export SHARE_IP=share-api
export SHARE_API_ORIGIN=http://localhost:5424
export SHARE_SERVER_PORT=5424
export SHARE_ADMIN_PORT=5425
export SHARE_AWS_CREDENTIAL_URL="invalid"
export AWS_REGION="invalid"
export SHARE_REDIS=redis://localhost:6379
export SHARE_POSTGRES=postgresql://postgres:sekrit@localhost:5432
export SHARE_POSTGRES_CONN_TTL=30
export SHARE_POSTGRES_CONN_MAX=10
export SHARE_HMAC_KEY="test-key-test-key-test-key-test-key-"
export SHARE_SHARE_UI_ORIGIN="http://localhost:1234"
export SHARE_CLOUD_UI_ORIGIN="http://localhost:5678"
export SHARE_HOMEPAGE_ORIGIN="http://localhost:1111"
export SHARE_CLOUD_HOMEPAGE_ORIGIN="http://localhost:2222"
export SHARE_LOG_LEVEL="DEBUG"
export SHARE_COMMIT="dev"
export SHARE_MAX_PARALLELISM_PER_DOWNLOAD_REQUEST="1"
export SHARE_MAX_PARALLELISM_PER_UPLOAD_REQUEST="5"
# Placeholders, these features don't work on localhost.
export SHARE_ZENDESK_API_USER="[email protected]"
export SHARE_ZENDESK_API_TOKEN="bad-password"
export SHARE_GITHUB_CLIENTID="invalid"
export SHARE_GITHUB_CLIENT_SECRET="invalid"
export AWS_ACCESS_KEY_ID="invalid"
export AWS_SECRET_ACCESS_KEY="invalid"