Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add dev config for oauth github #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/development/secrets/maevsi/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oauth-*.secret
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
your-github-oauth-app-client-secret
1 change: 1 addition & 0 deletions src/development/stack.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ PNPM_STORE_DIR=
S3_TUSD_BUCKET=maevsi-images
S3_TUSD_ENDPOINT=http://minio:9000
S3_TUSD_REGION=eu-central-1
OAUTH_GITHUB_CLIENT_ID=
TUSD_MAX_SIZE=1048576
6 changes: 6 additions & 0 deletions src/development/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ secrets:
maevsi_turnstile-key:
# The captcha provider's application key.
file: ./secrets/maevsi/turnstile-key.secret
maevsi_oauth-github-client-secret:
# The captcha provider's application key.
file: ./secrets/maevsi/oauth-github-client-secret.secret
pg-amqp-bridge_amqp-uri:
# The database-to-AMQP bridge's AMQP URI.
file: ./secrets/pg-amqp-bridge/amqp-uri.secret
Expand Down Expand Up @@ -170,12 +173,15 @@ services:
NUXT_PUBLIC_SITE_URL: https://${STACK_DOMAIN}
NUXT_PUBLIC_TURNSTILE_SITE_KEY: ${TURNSTILE_SITE_KEY}
NUXT_PUBLIC_VIO_GOOGLE_ANALYTICS_ID: ${GOOGLE_ANALYTICS_ID}
NUXT_OAUTH_GITHUB_CLIENT_ID: ${OAUTH_GITHUB_CLIENT_ID}
NUXT_OAUTH_GITHUB_CLIENT_SECRET_SECRETSFILE: /run/secrets/maevsi_oauth-github-client-secret
POSTGRAPHILE_JWT_PUBLIC_KEY_FILE: /run/config/postgraphile_jwt-public-key
POSTGRES_DB_FILE: /run/secrets/postgres_db
POSTGRES_ROLE_MAEVSI_TUSD_PASSWORD_FILE: /run/secrets/postgres_role_maevsi-tusd_password
POSTGRES_ROLE_MAEVSI_TUSD_USERNAME_FILE: /run/secrets/postgres_role_maevsi-tusd_username
image: maevsi/maevsi:dev
secrets:
- maevsi_oauth-github-client-secret
- maevsi_turnstile-key
- postgres_db
- postgres_role_maevsi-tusd_password
Expand Down
Loading