Skip to content

Commit fb04f6b

Browse files
committed
ORGANIC-443. Updated example.env that actual works.
1 parent 60da7c1 commit fb04f6b

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

example.env

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
1-
GITGATEWAY_JWT_SECRET="CHANGE-THIS! VERY IMPORTANT!"
1+
# Warning: Many configuration would not work with quote (ie "").
2+
3+
# JWT Secret is not needed for RS256. Instead, issuer should be specified
4+
# (eg, https://dev-1234.oktapreview.com/oauth2/default)
5+
GITGATEWAY_JWT_SECRET=
6+
7+
# @TODO - REQUIRED for Okta
8+
ISSUER=
9+
10+
# @TODO - REQUIRED for Okta
11+
CLIENT_ID=
12+
13+
AUD=api://default
214

315
GITGATEWAY_DB_DRIVER=sqlite3
416
DATABASE_URL=gorm.db
517

6-
GITGATEWAY_API_HOST=localhost
7-
PORT=9999
18+
# @TODO - Is there way to expose internal port from Docker?
19+
GITGATEWAY_API_HOST=0.0.0.0
20+
PORT=8087
21+
22+
# @TODO - REQUIRED
23+
GITGATEWAY_GITHUB_ACCESS_TOKEN=
824

9-
GITGATEWAY_GITHUB_ACCESS_TOKEN="personal-access-token"
10-
GITGATEWAY_GITHUB_REPO="owner/name"
25+
# @TODO - REQUIRED
26+
GITGATEWAY_GITHUB_REPO=
1127

12-
GITGATEWAY_ROLES="admin,cms" # leave blank to allow all roles
28+
# Original example.env wrote: leave blank to allow all roles. But, it won't
29+
# work unless it is commented out
30+
# GITGATEWAY_ROLES=

0 commit comments

Comments
 (0)