Update example conf for supabase to use dedicated secret
This commit is contained in:
parent
99e1419556
commit
7dfeda268e
4 changed files with 71 additions and 18 deletions
|
@ -1,20 +1,30 @@
|
|||
secret:
|
||||
jwt:
|
||||
anonKey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE
|
||||
serviceKey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJzZXJ2aWNlX3JvbGUiLAogICAgImlzcyI6ICJzdXBhYmFzZS1kZW1vIiwKICAgICJpYXQiOiAxNjQxNzY5MjAwLAogICAgImV4cCI6IDE3OTk1MzU2MDAKfQ.DaYlNEoUrrEn2Ig7tqibS-PHK5vgusbcbo7X36XVt4Q
|
||||
secret: your-super-secret-jwt-token-with-at-least-32-characters-long
|
||||
secretRef: "supabase-app-secret"
|
||||
secretRefKey:
|
||||
anonKey: JWT_ANON_KEY
|
||||
serviceKey: JWT_SERVICE_KEY
|
||||
secret: JWT_SECRET
|
||||
smtp:
|
||||
username: your-mail@example.com
|
||||
password: example123456
|
||||
secretRef: "supabase-app-secret"
|
||||
secretRefKey:
|
||||
username: SMTP_USERNAME
|
||||
password: SMTP_PASSWORD
|
||||
dashboard:
|
||||
username: supabase
|
||||
password: this_password_is_insecure_and_should_be_updated
|
||||
secretRef: "supabase-app-secret"
|
||||
secretRefKey:
|
||||
username: DASHBOARD_USERNAME
|
||||
password: DASHBOARD_PASSWORD
|
||||
db:
|
||||
username: postgres
|
||||
password: example123456
|
||||
database: postgres
|
||||
secretRef: "supabase-app-secret"
|
||||
secretRefKey:
|
||||
username: DATABASE_USERNAME
|
||||
password: DATABASE_PASSWORD
|
||||
database: DATABASE_NAME
|
||||
analytics:
|
||||
apiKey: your-super-secret-and-long-logflare-key
|
||||
secretRef: "supabase-app-secret"
|
||||
secretRefKey:
|
||||
apiKey: ANALYTICS_API_KEY
|
||||
|
||||
db:
|
||||
enabled: true
|
||||
|
@ -50,12 +60,8 @@ auth:
|
|||
environment:
|
||||
API_EXTERNAL_URL: http://example.com
|
||||
GOTRUE_SITE_URL: http://example.com
|
||||
GOTRUE_EXTERNAL_EMAIL_ENABLED: "true"
|
||||
GOTRUE_MAILER_AUTOCONFIRM: "true"
|
||||
GOTRUE_SMTP_ADMIN_EMAIL: "your-mail@example.com"
|
||||
GOTRUE_SMTP_HOST: "smtp.example.com"
|
||||
GOTRUE_SMTP_PORT: "587"
|
||||
GOTRUE_SMTP_SENDER_NAME: "your-mail@example.com"
|
||||
GOTRUE_EXTERNAL_EMAIL_ENABLED: "false"
|
||||
GOTRUE_MAILER_AUTOCONFIRM: "false"
|
||||
|
||||
rest:
|
||||
image:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue