ENTE behind traefik (single-domain)

Hey there I was wondering wether it is possible and if anyone has achieved setting up ente behind traefik on a single domain (ex.: ente.domain.com)? Currently I am using one domain and then using PathPrefix() for seperating the ports 3000-3004: (see attachement) museum.yaml: (see attachement) Thanks in advance!
4 Replies
Ducky
Ducky4w ago
Ente can be self-hosted. See the self-hosting documentation at https://help.ente.io/self-hosting/ for setup instructions. To configure Ente behind Traefik, you can use subdomains to route traffic to the different Ente services. For example, you can configure Traefik to route traffic for the Ente Accounts web app using accounts.ente.yourdomain.tld to http://localhost:3001, as described in the documentation at https://help.ente.io/self-hosting/administration/reverse-proxy#for-ente-accounts-web-app. Similarly, you can configure routing for the Ente Auth web app using auth.ente.yourdomain.tld to http://localhost:3003 (see https://help.ente.io/self-hosting/administration/reverse-proxy#for-ente-auth-web-app), for the Ente Cast web app using cast.ente.yourdomain.tld to http://localhost:3004 (see https://help.ente.io/self-hosting/administration/reverse-proxy#for-ente-cast-web-app), and for the Ente Photos web app using web.ente.yourdomain.tld to http://localhost:3000 (see https://help.ente.io/self-hosting/administration/reverse-proxy#for-ente-photos-web-app). -# If your issue is resolved, feel free to use the /solved command to close this thread. If you'd like to ask me another question use /docsearch
Quickstart - Self-hosting | Ente Help
Getting started with self-hosting Ente
Reverse proxy | Ente Help
Documentation and help for Ente's products
CodeShell
CodeShellOP4w ago
museum.yaml:apps:
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: https://ente.domain.com/prefix_3
cast: https://ente.domain.com/prefix_5
# Set this to the URL where your accounts web app is running, primarily used for
# passkey based 2FA.
accounts: https://ente.domain.com/prefix_2
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: https://ente.domain.com/prefix_3
cast: https://ente.domain.com/prefix_5
# Set this to the URL where your accounts web app is running, primarily used for
# passkey based 2FA.
accounts: https://ente.domain.com/prefix_2
`compose.yaml:web:environment:
environment:
ENTE_API_ORIGIN: https://${HOST_1}/api
ENTE_ALBUMS_ORIGIN: https://${HOST_1}${PREFIX_3}
environment:
ENTE_API_ORIGIN: https://${HOST_1}/api
ENTE_ALBUMS_ORIGIN: https://${HOST_1}${PREFIX_3}
CodeShell
CodeShellOP4w ago
moved to Immich; After trying my best to get it working…
eddie
eddie3w ago
Yeah I recently tried using url slugs (or prefixes, whatever they're called) and couldn't get it working. I believe the QuickStart script setup expects each service at itself own subdomain or something. I'm not totally sure

Did you find this page helpful?