Update ENVs in Supabase Docker

This commit is contained in:
Korbs 2024-08-09 00:56:52 -04:00
parent 8e3f4e8755
commit 7fb2bb9f39
2 changed files with 108 additions and 0 deletions

1
.gitignore vendored
View file

@ -25,3 +25,4 @@ source/.env.production
/source/src/pages/ru/
# other
.minpluto/docker/supabase/.env

View file

@ -0,0 +1,107 @@
###########
# Docker Volumes
# All folders provided in `./supabase-volume/` must be included
###########
SUPABASE_ENTIRE_VOLUME="./supabase-volume/"
############
# Secrets
# YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION
############
POSTGRES_PASSWORD=5lgHamV44d8D1GN9LRS6b44VxREi4692
JWT_SECRET=paxDX2xE00qFa4I1r6PKe15nIkB089I4
ANON_KEY=9X43H6LKq3115zmZhZj95f2IJ104a603
SERVICE_ROLE_KEY=K2G792rYBZR0kZvw9Zp6182zAwzxsdas
DASHBOARD_USERNAME=mp_admin
DASHBOARD_PASSWORD=ez116oqVWd4wHZUQNbgW3fA0m958FN09
############
# Database - You can change these to any PostgreSQL database that has logical replication enabled.
############
# default user is postgres
POSTGRES_HOST=db
POSTGRES_DB=postgres
POSTGRES_PORT=1945
############
# API Proxy - Configuration for the Kong Reverse proxy.
############
KONG_HTTP_PORT=1942
KONG_HTTPS_PORT=1943
############
# API - Configuration for PostgREST.
############
PGRST_DB_SCHEMAS=public,storage,graphql_public
############
# Auth - Configuration for the GoTrue authentication server.
############
## General
SITE_URL=http://localhost:1930
ADDITIONAL_REDIRECT_URLS=
JWT_EXPIRY=3600
DISABLE_SIGNUP=false
API_EXTERNAL_URL=https://db.minpluto.org
## Mailer Config
MAILER_URLPATHS_CONFIRMATION="/auth/v1/verify"
MAILER_URLPATHS_INVITE="/auth/v1/verify"
MAILER_URLPATHS_RECOVERY="/auth/v1/verify"
MAILER_URLPATHS_EMAIL_CHANGE="/auth/v1/verify"
## Email auth
ENABLE_EMAIL_SIGNUP=true
ENABLE_EMAIL_AUTOCONFIRM=false
SMTP_ADMIN_EMAIL=no-reply@minpluto.org
SMTP_HOST=smtp.resend.com
SMTP_PORT=587
SMTP_USER=resend
SMTP_PASS=re_2EbqJq6m_4UeuWv
SMTP_SENDER_NAME=MinPluto
ENABLE_ANONYMOUS_USERS=true
## Phone auth
ENABLE_PHONE_SIGNUP=false
ENABLE_PHONE_AUTOCONFIRM=false
############
# Studio - Configuration for the Dashboard
############
STUDIO_DEFAULT_ORGANIZATION=Default Organization
STUDIO_DEFAULT_PROJECT=Default Project
STUDIO_PORT=1944
SUPABASE_PUBLIC_URL=http://localhost:8000
# Enable webp support
IMGPROXY_ENABLE_WEBP_DETECTION=true
############
# Functions - Configuration for Functions
############
# NOTE: VERIFY_JWT applies to all functions. Per-function VERIFY_JWT is not supported yet.
FUNCTIONS_VERIFY_JWT=false
############
# Logs - Configuration for Logflare
# Please refer to https://supabase.com/docs/reference/self-hosting-analytics/introduction
############
LOGFLARE_LOGGER_BACKEND_API_KEY=your-super-secret-and-long-logflare-key
# Change vector.toml sinks to reflect this change
LOGFLARE_API_KEY=your-super-secret-and-long-logflare-key
# Docker socket location - this value will differ depending on your OS
DOCKER_SOCKET_LOCATION=/var/run/docker.sock
# Google Cloud Project details
GOOGLE_PROJECT_ID=GOOGLE_PROJECT_ID
GOOGLE_PROJECT_NUMBER=GOOGLE_PROJECT_NUMBER