Skip to content

Do I need to modify the docker-compose file to add social logins? #30

Answered by timothymamo
Yasas4D asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Yasas4D, if you want to add any additional configuration to supabase you can do this by:

  1. adding the variable to the appropriate service in the docker-compose.yml
  2. adding the variable to the the env.tftpl (using your example I would add ENABLE_EMAIL_AUTOCONFIRM=${TF_ENABLE_EMAIL_AUTOCONFIRM})
  3. Add the TF variable in the locals env_file section (e.g. TF_ENABLE_EMAIL_AUTOCONFIRM = "${var.enable_email_autoconfirm}" or set as TF_ENABLE_EMAIL_AUTOCONFIRM = true if you don't need to change this)
  4. Optional (according to how you set the varible in step 3): Add the variable in the varibales.tf file (e.g.
variable "enable_email_autoconfirm" {
  description = "Boolean enabling email autoconfirmat…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Yasas4D
Comment options

Answer selected by Yasas4D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants