Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[server] Config for accounts,cast, & family apps

Neeraj Gupta150faa5d8438
diff --git a/server/cmd/museum/main.go b/server/cmd/museum/main.go
index cb2a8e2d48..712df696c6 100644
--- a/server/cmd/museum/main.go
+++ b/server/cmd/museum/main.go
@@ -92,6 +92,10 @@ func main() {
if err != nil {
panic(err)
}
+ viper.SetDefault("apps.accounts", "https://accounts.ente.io")
+ viper.SetDefault("apps.cast-album", "https://cast.ente.io")
+ viper.SetDefault("apps.public-albums", "https://albums.ente.io")
+ viper.SetDefault("apps.family", "https://family.ente.io")
setupLogger(environment)
log.Infof("Booting up %s server with commit #%s", environment, os.Getenv("GIT_COMMIT"))
diff --git a/server/configurations/local.yaml b/server/configurations/local.yaml
index c4772b474c..528d673382 100644
--- a/server/configurations/local.yaml
+++ b/server/configurations/local.yaml
@@ -79,6 +79,14 @@ apps:
# If you're running a self hosted instance and wish to serve public links,
# set this to the URL where your albums web app is running.
public-albums:
+ # Default is https://cast.ente.io
+ cast-album:
+ # Default is https://accounts.ente.io
+ # Set this to the URL where your accounts web app is running, primarily used for
+ # passkey based 2FA.
+ accounts:
+ # Default is https://family.ente.io
+ family:
# Database connection parameters
db: