forked from AppFlowy-IO/AppFlowy-Cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: self host: use deploy nginx routed url
- Loading branch information
Showing
4 changed files
with
93 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# This file is used to set the environment variables for local development | ||
# Copy this file to .env and change the values as needed | ||
|
||
# authentication key, change this and keep the key safe and secret | ||
# self defined key, you can use any string | ||
GOTRUE_JWT_SECRET=hello456 | ||
|
||
# User sign up will automatically be confirmed if this is set to true. | ||
# If you have OAuth2 set up or smtp configured, you can set this to false | ||
# to enforce email confirmation or OAuth2 login instead. | ||
# If you set this to false, you need to either set up SMTP | ||
GOTRUE_MAILER_AUTOCONFIRM=true | ||
|
||
# if you enable mail confirmation, you need to set the SMTP configuration below | ||
GOTRUE_SMTP_HOST=smtp.gmail.com | ||
GOTRUE_SMTP_PORT=465 | ||
GOTRUE_SMTP_USER=email_sender@some_company.com | ||
GOTRUE_SMTP_PASS=email_sender_password | ||
GOTRUE_SMTP_ADMIN_EMAIL=comp_admin@some_company.com | ||
|
||
# gotrue admin | ||
GOTRUE_ADMIN_EMAIL=admin@example.com | ||
GOTRUE_ADMIN_PASSWORD=password | ||
|
||
# clicking on email verification link will redirect to this host | ||
# change this to your own domain where you host the docker-compose or gotrue | ||
API_EXTERNAL_URL=http://<host> | ||
|
||
# url to the postgres database | ||
DATABASE_URL=postgres://postgres:password@localhost:5433/postgres | ||
# uncomment this to enable build without database | ||
# .sqlx files must be pregenerated | ||
SQLX_OFFLINE=false | ||
|
||
# Google OAuth2 | ||
GOTRUE_EXTERNAL_GOOGLE_ENABLED=true | ||
GOTRUE_EXTERNAL_GOOGLE_CLIENT_ID= | ||
GOTRUE_EXTERNAL_GOOGLE_SECRET= | ||
GOTRUE_EXTERNAL_GOOGLE_REDIRECT_URI=http://<host>/callback | ||
# GitHub OAuth2 | ||
GOTRUE_EXTERNAL_GITHUB_ENABLED=false | ||
GOTRUE_EXTERNAL_GITHUB_CLIENT_ID= | ||
GOTRUE_EXTERNAL_GITHUB_SECRET= | ||
GOTRUE_EXTERNAL_GITHUB_REDIRECT_URI=http://<host>/callback | ||
# Discord OAuth2 | ||
GOTRUE_EXTERNAL_DISCORD_ENABLED=false | ||
GOTRUE_EXTERNAL_DISCORD_CLIENT_ID= | ||
GOTRUE_EXTERNAL_DISCORD_SECRET= | ||
GOTRUE_EXTERNAL_DISCORD_REDIRECT_URI=http://<host>/callback | ||
# File Storage | ||
USE_MINIO=true | ||
# MINIO_URL=http://localhost:9000 # change this if you are using a different address for minio | ||
AWS_ACCESS_KEY_ID=minioadmin | ||
AWS_SECRET_ACCESS_KEY=minioadmin | ||
AWS_S3_BUCKET=appflowy | ||
AWS_REGION=us-east-1 | ||
|
||
RUST_LOG=info | ||
|
||
# PgAdmin | ||
PGADMIN_DEFAULT_EMAIL=admin@example.com | ||
PGADMIN_DEFAULT_PASSWORD=password | ||
|
||
# Portainer (username: admin) | ||
PORTAINER_PASSWORD=password1234 | ||
|
||
# Grafana Dashboard | ||
GF_SECURITY_ADMIN_USER=admin | ||
GF_SECURITY_ADMIN_PASSWORD=password | ||
|
||
# Cloudflare tunnel token | ||
CLOUDFLARE_TUNNEL_TOKEN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters