-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env-sample
61 lines (48 loc) · 1.96 KB
/
.env-sample
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
# Copy this to .env
####################
# DATABASE #
####################
DATABASE_HOST=127.0.0.1
DATABASE_USERNAME=sandwich
DATABASE_PASSWORD=hunter2
####################
# RABBITMQ #
####################
RABBITMQ_HOST=127.0.0.1
RABBITMQ_USERNAME=sandwich
RABBITMQ_PASSWORD=hunter2
####################
# Auth #
####################
# Choose auth drivers to use (comma separated list)
# The first driver is shown as the default in /v1/auth/discover
# Github: deli_counter.auth.drivers.github.driver:GithubAuthDriver
# Gitlab: deli_counter.auth.drivers.gitlab.driver:GitlabAuthDriver
# OpenID: deli_counter.auth.drivers.openid.driver:OpenIDAuthDriver
# LDAP: deli_counter.auth.drivers.ldap.driver:LDAPAuthDriver
# DB: deli_counter.auth.drivers.builtin.driver:BuiltInAuthDriver
AUTH_DRIVERS=deli_counter.auth.drivers.github.driver:GithubAuthDriver
# A url safe 32 bit base64 encoded string used to encrypt tokens
# Multiple keys can be listed to allow rotation (comma separated). The first
# key in the list is the primary key.
# To rotate keys simply generate a new key and put it in the front of the list
# then after a while remove the old key from the list
AUTH_FERNET_KEYS=
####################
# GITHUB AUTH #
####################
# Only populate these values if using the Github Auth Driver
# Github Application Creds
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# Github org users must be a part of and used for team searching
GITHUB_ORG=
# A static mapping of sandwich cloud roles to github teams
# ${role_name}:${team_name}
# These static mappings will override GITHUB_TEAM_ROLES_PREFIX if a role is found
GITHUB_TEAM_ROLES="admin:sandwich-admin,role1:sandwich-role1"
# Prefix to use when searching for sandwich cloud roles.
# If no static mapping for a role is given this prefix will be used.
# i.e For the role named "role1" with a prefix of "sandwich-" a team
# of "sandwich-role1" will be searched for in the github org
GITHUB_TEAM_ROLES_PREFIX="sandwich-"