Skip to content

Commit

Permalink
switch to environment variables for config
Browse files Browse the repository at this point in the history
  • Loading branch information
jbellerb committed Mar 7, 2023
1 parent 3f2ff0f commit 945ea27
Show file tree
Hide file tree
Showing 7 changed files with 168 additions and 320 deletions.
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
POSER_AUTH_COOKIE_SECRET="<cookie secret>"

POSER_AUTH_GOOGLE_CLIENT_ID="<client id>"
POSER_AUTH_GOOGLE_CLIENT_SECRET="<client secret>"
POSER_AUTH_GOOGLE_ALLOWED_DOMAINS="<domain>"
POSER_AUTH_GOOGLE_AUTHORIZE_URL="https://accounts.google.com/o/oauth2/v2/auth?hd=<domain>"
POSER_AUTH_GOOGLE_ADMIN_EMAIL="admin@domain"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
result

config/config.toml
.env

target/
249 changes: 17 additions & 232 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 945ea27

Please sign in to comment.