Skip to content

Commit

Permalink
Update Nhost config
Browse files Browse the repository at this point in the history
  • Loading branch information
Godefroy committed Jun 27, 2024
1 parent 4a314dc commit 12051eb
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions nhost/nhost.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,16 @@ value = '{{ secrets.APPS_GOOGLECALENDAR_CLIENT_ID }}'
name = 'APPS_GOOGLECALENDAR_CLIENT_SECRET'
value = '{{ secrets.APPS_GOOGLECALENDAR_CLIENT_SECRET }}'

[[global.environment]]
name = 'WEBAPP_URL'
value = '{{ secrets.WEBAPP_URL }}'

[[global.environment]]
name = 'BACKEND_URL'
value = '{{ secrets.BACKEND_URL }}'

[hasura]
version = 'v2.33.4-ce'
version = 'v2.38.0-ce'
adminSecret = '{{ secrets.HASURA_GRAPHQL_ADMIN_SECRET }}'
webhookSecret = '{{ secrets.NHOST_WEBHOOK_SECRET }}'

Expand Down Expand Up @@ -94,7 +98,7 @@ memory = 1536
version = 18

[auth]
version = '0.20.1'
version = '0.32.0'

[auth.resources]
replicas = 1
Expand All @@ -104,7 +108,7 @@ cpu = 250
memory = 256

[auth.redirections]
clientUrl = 'https://rolebase.io'
clientUrl = '{{ secrets.WEBAPP_URL}}'

[auth.signUp]
enabled = true
Expand All @@ -116,7 +120,7 @@ allowed = ['user', 'me']

[auth.user.locale]
default = 'en'
allowed = ['en']
allowed = ['en', 'fr']

[auth.user.gravatar]
enabled = false
Expand Down Expand Up @@ -210,7 +214,7 @@ enabled = false
issuer = 'nhost'

[postgres]
version = '14.6-20231031-1'
version = '14.11-20240515-1'

[postgres.resources]
replicas = 1
Expand All @@ -222,7 +226,7 @@ memory = 2048

[provider]
[provider.smtp]
user = '62097712e48bf474678465f967d7f832'
user = '{{ secrets.MAILJET_PUBIC_KEY}}'
password = '{{ secrets.MAILJET_SMTP_PASSWORD }}'
sender = '[email protected]'
host = 'in-v3.mailjet.com'
Expand Down

0 comments on commit 12051eb

Please sign in to comment.