services: museum: image: ghcr.io/ente-io/server@sha256:61245410ae7b8755b631e6d85cff402eb123285e4abbfffbed7b78d75d68d725 ports: - 127.0.0.1:27159:8080 # API restart: unless-stopped depends_on: postgres: condition: service_healthy volumes: - ./museum.yaml:/museum.yaml:ro - ./data:/data:ro environment: NEXT_PUBLIC_ENTE_ENDPOINT: https://api.pics.doma.in web: image: ghcr.io/ente-io/web@sha256:84be8962c1046842b23420823a0fb579bbf3b46463aa549bfdfed98f99c28f38 restart: unless-stopped ports: - 127.0.0.1:28021:3000 # Photos web app - 127.0.0.1:11659:3001 # Accounts - 127.0.0.1:51370:3002 # Public albums - 127.0.0.1:59049:3003 # Auth - 127.0.0.1:10858:3004 # Cast environment: ENTE_API_ORIGIN: https://api.pics.doma.in ENTE_ALBUMS_ORIGIN: https://share.pics.doma.in NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT: https://share.pics.doma.in postgres: image: postgres@sha256:f57a3bdbf044f0b213fdc99f35a0d21c401608bf41f063176ec00c51df9655f7 restart: unless-stopped environment: POSTGRES_USER: pguser POSTGRES_PASSWORD: password POSTGRES_DB: ente_db healthcheck: test: pg_isready -q -d ente_db -U pguser start_period: 40s start_interval: 1s volumes: - ./db:/var/lib/postgresql/data