
ente
The API server for ente photos & auth (2fa).
postgres
railwayapp-templates/postgres-ssl:16
Just deployed
/var/lib/postgresql/data
museum
ente-io/server
Just deployed
Overview
Ente is a fully open-source, end-to-end encrypted platform designed for storing data in the cloud without requiring trust in the service provider. Built on this platform are two apps: Ente Photos (an alternative to Apple and Google Photos) and Ente Auth (a 2FA alternative to the deprecated Authy).
Learn more at ente.io.
Configuration
Environment Variables
S3 Storage
Configure the S3 variables S3_ACCESS_KEY_ID
, S3_ACCESS_KEY_SECRET
, S3_ENDPOINT
, S3_BUCKET
, and S3_REGION
if you want to use Ente Photos. Leave these variables empty if you're only planning to use Ente Auth.
Cryptographic Keys
For a quick start, you can leave the ENTE_KEY_ENCRYPTION
, ENTE_KEY_HASH
, and ENTE_KEY_JWT
variables empty, although it's recommended to generate new keys. See details here.
Verification Code
Creating an account typically requires confirming it with a verification code sent via email. To complete the verification, you have two options: either set values for the optional variables ENTE_INTERNAL_HARDCODED-OTT_LOCAL-DOMAIN-SUFFIX
and ENTE_INTERNAL_HARDCODED-OTT_LOCAL-DOMAIN-VALUE
, or retrieve the code from the deployment logs.
Client App
Once the server is deployed, Railway will automatically generate a public URL listening on port 8080. The URL will look like "https://your-project.up.railway.app". To connect the client app to your server, tap 7 times on the onboarding screen to bring up a page where you can configure this URL as your endpoint. For more details, see here.
Create an account and use the verification code as described above.
Increase Storage Quota
By default, the storage quota is set to 5GB. To increase it to 1TB, go to the Postgres service and view the database under "Data". Navigate to the "users" table, select the user you want to update, and change the following fields:
bonus_id
:self-hosted-myself
storage
:1099511627776
type
:ADD_ON_SUPPORT
valid_till
:0
Shared Albums
You can enable shared folders with a self-hosted instance. However, for simplicity, this template doesn't include that configuration. For more details, see here.
Template Content