Self hosted public albums dont work.
Hello, I have tried to enable public albums in my self hosted ente instance:
museum.yaml:
apps:
accounts: https://accounts.domain.online
public-albums: https://albums.domain.online
compose.yaml:
web:
image: ghcr.io/ente-io/web
# Uncomment what you need to tweak.
ports:
- 3000:3000 # Photos web app
- 3001:3001 # Accounts
- 3002:3002 # Public albums
environment:
ENTE_API_ORIGIN: https://acht.domain.online:443
# ENTE_ALBUMS_ORIGIN: https://albums.domain.online:443
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT: https://albums.domain.online:443
But if i share an album it just results in a login page? The ports are definetly ok and ente generates links with the correct domain (albums.domain.online). I use the default compose.yaml and museum.yaml from the quickstart bash script.
Any help is greatly appreciated!3 Replies
Yes, public sharing is available for self-hosted instances.
To enable public sharing, you need to run two instances of the web app. One is the regular web app, and the other is the same code running on a different origin (different hostname or port). You then need to configure the regular web app to use the second instance for public links by setting the
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT environment variable. See more details at https://help.ente.io/self-hosting/faq/sharing.These instructions arent for docker tho?
<@&1364141260708909117> User still needs help in #Self hosted public albums dont work.
Thread marked as solved and closed.