-
-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathenv-example
More file actions
116 lines (89 loc) · 4.57 KB
/
Copy pathenv-example
File metadata and controls
116 lines (89 loc) · 4.57 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# Secret configuration in .env
# Copy this to .env and fill in the x's for development (ansible creates the .env on staging/production servers)
# Similarly copy env-staging-example to .env.staging if the staging variables differ from development
# These values are then automatically loaded as environment variables in the ruby app
# See https://github.com/bkeepers/dotenv for more information
# -------------------------------------------------------------------
# Code Development and provisioning staging and development (vagrant)
# We're using Cuttlefish to send mail in production and mailpit to catch mail on staging servers
# (and mailcatcher locally on development systems which is hard coded)
# Setting .env on the local machine affects the .env provisioned for vagrant or staging machines
# but not production
#CUTTLEFISH_SERVER=cuttlefish.oaf.org.au
#CUTTLEFISH_SERVER=mailpit.your.domain
#CUTTLEFISH_PORT=2525
# Username and password is required by Cuttlefish but not mailpit
# CUTTLEFISH_USERNAME=xxxxxxx
# CUTTLEFISH_PASSWORD=xxxxxxxxxxxxxxxxxxxx
# OAuth authentication app
GITHUB_APP_ID=xxxxxx
GITHUB_APP_NAME=xxxxxxxxxx
GITHUB_APP_CLIENT_ID=xxxxxxxxxxxxxxxxxxxx
GITHUB_APP_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
GITHUB_APP_INSTALLED_BY=xxxxxxxxxx
# -------------------------------------------------------------------
# Provisioning staging only
# Ansible sets SERVER_NAME in deployed .env file from this value
#STAGING_HOSTNAME=morph.your.domain
# Required if STAGING_HOSTNAME points to a CDN: set to the actual ip address of the server
#STAGING_DEPLOY_TO=server-ip-address
# -------------------------------
# Code Development Only
# Secret for Discourse to use morph for single sign on authentication
DISCOURSE_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxx
DISCOURSE_URL=http://discuss.dev.morph.io
# Used by mitmproxy to communicate via the api back to morph
MITMPROXY_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxx
MORPH_URL=http://localhost:3000
# Used by capistrano for deployment and ansible playbook in provisioning
# Required if you are deploying to staging
#STAGING_HOSTNAME=morph-staging.your.domain
# Required if STAGING_HOSTNAME points to a CDN: set to the actual ip address of the server
#STAGING_DEPLOY_TO=server-ip-address
# Ansible will set SERVER_NAME in the .env file for you
# In development you can run elasticsearch on docker very easily which means
# you don't have to install it. Use
# SERVICES=elasticsearch make services-up
# Then, point it at the right place. You can get the ip address of docker
# by running: docker-machine ip
# If you're on Linux you probably dont need the line below
# ELASTICSEARCH_URL=http://192.168.99.100:9200
# This secret key is used for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# You can use `rake secret` to generate a secure secret key.
SECRET_KEY_BASE=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Stripe payment processor
STRIPE_PUBLISHABLE_KEY=pk_test_xxxxxxxxxxxxxxxxxxxxxxxx
STRIPE_SECRET_KEY=sk_test_xxxxxxxxxxxxxxxxxxxxxxxx
# Secret for authenticating sync / faye
SYNC_AUTH_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# So we can access docker in docker in tests - Set to docker id in /etc/groups
DOCKER_GID=999
# -------------------------------
# Code Development Only
# See https://hub.docker.com/_/mysql
MYSQL_ROOT_PASSWORD=password
# In development you can run elasticsearch on docker very easily which means
# you don't have to install it.
# Just use: docker-compose up
# Then, point it at the right place. You can get the ip address of docker
# by running: docker-machine ip
# If you're on Linux you can probably comment the line below out
ELASTICSEARCH_URL=http://192.168.99.100:9200
# -------------------------------
# Optional
# If this is Linux then your docker daemon is likely running locally on a socket. In that case the DOCKER_URL
# and DOCKER_TCP does not need to be set (comment the lines below out).
# If this is OS X, then your docker daemon will be running inside a VM with a tunneled port (see instructions
# in the README for how to set this up)
#DOCKER_URL=http://localhost:4243
#DOCKER_TCP=localhost:4243
# Google Analytics (leave commented out to disable)
#GOOGLE_ANALYTICS_TRACKING_ID=xx-xxxxxxx-xx
# Heap Analytics (leave commented out to disable)
#HEAP_ANALYTICS_TRACKING_ID=xxxxxxxxxx
# Error reporting to Honeybadger
#HONEYBADGER_API_KEY=xxxxxxxx
# Set if your login User and Group Id's differ so files are created with the correct permissions
UID=1001
GID=1001