Skip to main content
Ente Photos: albums and photo grid on a phone, a computer and a tablet Published on December 2, 2026 Your photos sit with a provider that can read them, or on a phone you can lose: Ente Photos, self-hosted on your VPS, backs them up with end-to-end encryption.

What Ente does for you

  • Back up the albums you choose from your iOS or Android phone, in original quality, and whole folders from the desktop app.
  • Keep your photos unreadable to the server: they are encrypted before upload. The code and cryptography have been audited, by Cure53 among others.
  • Find a photo by face or by description (“beach”, “birthday cake”): the analysis runs on your device, not on the VPS.
  • Share an album through a public link, with a password and an expiry date, with no account needed for your family and friends.
  • Export everything at any time: the desktop app continuously exports your library to a local folder.

At a glance

Install Ente on your VPS

Prerequisites: a Debian or Ubuntu VPS with Docker and Docker Compose 2.30 or later, ports 80 and 443 open, and four DNS A records pointing to the VPS: api, web, albums and s3 under ente.example.com. Replace that domain with yours in every file.
Browsers and phones upload photos straight to the S3 storage, using a signed URL the server hands them. The storage address must therefore be reachable by them and by the server alike. Hence the s3 domain, instead of the official script’s localhost:3200.
Switch to root and create the service directory. Run the following commands from there:
Generate the secrets, with the same commands as the official install script:
This compose.yaml follows the one from the official script, with pinned images, ports limited to 127.0.0.1, automatic restarts and a single bucket: the other two are only for replication. The socat service is gone, since the docs only require it for localhost:3200. Silo is a MinIO fork; its web console is not published.
The museum.yaml file configures the server. It holds no secrets: they come from the ENTE_* variables in the Compose file.
Start the stack:
Then install Caddy, the reverse proxy the docs recommend. It gets and renews the HTTPS certificates by itself:
Replace the contents of the Caddyfile. It follows the docs, with one more block for the storage:
Enable Caddy and reload its configuration:

First steps

  1. Create your account. Open https://web.ente.example.com and click Signup. Without SMTP, the verification code shows up in the logs, on a line reading Skipping sending email to … Verification code: 123456: read it with docker compose logs museum. Keep the recovery key: without it, a forgotten password makes the photos unreadable.
  2. Connect your phone. Install Ente Photos, tap the onboarding screen 7 times and enter https://api.ente.example.com. Sign in, then choose the albums to back up.
  3. Raise the quota. An account gets 10 GB by default. With the Ente CLI installed on your computer, the admin account lifts that limit; the first account created is admin automatically.
These two commands connect the CLI to your server, then set the account to 100 TB, without adding any disk to the VPS:

Check that it works

Query the server, then the storage, through their public domains:
The first response contains "message":"pong". The second is an AccessDenied XML: the storage answers and turns anonymous visitors away. Then upload a photo from your phone. If it fails, look for OBJECT_SIZE_FETCH_FAILED in docker compose logs museum: the server cannot reach the S3 endpoint. The troubleshooting page also covers 403 and CORS errors.

Secure access

Once your accounts exist, close registrations and set the administrator. First, read their user_id:
Replace the internal section at the end of museum.yaml, with your own ID:
Recreate the containers to apply the change; the data stays in the volumes:
In the console firewall, allow only SSH, 80 and 443 inbound. Ports 8080, 3000, 3002 and 3200 listen on the VPS only.
Back up .env, museum.yaml and the postgres-data and minio-data volumes together. Without the database, which holds the file keys, the encrypted photos are useless.

Limits and alternatives

Search by face or description is enabled in the mobile and desktop apps, not in the web app. The docs present the bundled MinIO storage as a means of quick testing: for a large library, keep an exported copy or plug in external S3 storage.

Going further

No VPS at OnetSolutions yet? Pick yours and keep your photos under your own roof.