-
Notifications
You must be signed in to change notification settings - Fork 4
/
local.env
26 lines (23 loc) · 1000 Bytes
/
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
#!/bin/bash
# Stub environment
export SHARE_DEPLOYMENT=local
export SHARE_API_ORIGIN=http://localhost:5424
export SHARE_SERVER_PORT=5424
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"