Skip to content
Discussion options

You must be logged in to vote

@kopko13 Hi, This isn't a bug. Email template env vars such as GOTRUE_MAILER_TEMPLATES_RECOVERY have to be a url and this url should return a template. And it doesn't have to be public. You can simply add a static file-server container in your docker-compose.yml file

in the below example I am using a static file server in the same docker network as auth container. This is the static file server I am using https://github.com/halverneus/static-file-server This can be any file server you want. auth container simply needs a url which it can make a GET request to and this url should return a valid template.

services:
	auth:
		environment:
			GOTRUE_MAILER_TEMPLATES_RECOVERY: http://templates-s…

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@kopko13
Comment options

@nissimlavy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by kopko13
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
self-hosted Related to self-hosted Supabase
4 participants