forked from KazuAlex/openpollslack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
49 lines (36 loc) · 1.51 KB
/
.env.example
File metadata and controls
49 lines (36 loc) · 1.51 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
# DMUN-Poll Environment Configuration
# Copy this file to .env and fill in the values
# ===========================================
# Slack App Configuration (Required)
# ===========================================
# Get these from https://api.slack.com/apps
DMUNPOLL_CLIENT_ID=your-slack-client-id
DMUNPOLL_CLIENT_SECRET=your-slack-client-secret
DMUNPOLL_SIGNING_SECRET=your-slack-signing-secret
# ===========================================
# Application Configuration
# ===========================================
# Secret for OAuth state (min 32 characters recommended)
DMUNPOLL_STATE_SECRET=change-me-to-a-secure-random-string
# Slack slash command name (without the /)
DMUNPOLL_COMMAND=poll
# Help documentation URL
DMUNPOLL_HELP_LINK=https://github.com/deutschemodelunitednations/openpollslack
# Support/donation URL (optional, leave empty to hide)
DMUNPOLL_SUPPORT_URL=
# ===========================================
# OAuth Redirect URLs
# ===========================================
# Set these to your domain where the app is hosted
DMUNPOLL_OAUTH_SUCCESS=https://your-domain.com/?oauth=success
DMUNPOLL_OAUTH_FAILURE=https://your-domain.com/?oauth=error
# ===========================================
# MongoDB Configuration
# ===========================================
# When using docker-compose, use the service name 'mongo'
DMUNPOLL_MONGO_URL=mongodb://mongo:27017
DMUNPOLL_MONGO_DB_NAME=dmun_poll
# ===========================================
# Server Configuration
# ===========================================
PORT=5000