Ente CommunityEC
Ente Communityโ€ข3mo agoโ€ข
13 replies
Servers@Home

No Public Share Links?

Hey all. I'm selfhosting ente using a single stack in docker with the museum.yaml in the same directory as the compose file. i have everything up and running but the issue I am running into is when I click on the button to create a public share link for an album, nothing is happening. I can't see a link getting created and when I click "copy link" nothing is copied. My docker compose is below with my museum.yaml:

services:
  museum:
    image: ghcr.io/ente-io/server
    ports:
      - "${PORT}:8080" # API
    depends_on:
      postgres:
        condition: service_healthy
    volumes:
      - "./museum.yaml:/museum.yaml"
      - "${CONFIG_DIR}/data:/data"
    healthcheck:
      test: ["CMD", "curl", "--fail", "http://127.0.0.1:8080/ping"]
      interval: 60s
      timeout: 5s
      retries: 3
      start_period: 5s

  # Resolve "localhost:3200" in the museum container to the minio container.
  socat:
    image: alpine/socat
    network_mode: service:museum
    depends_on:
      - museum
    command: "TCP-LISTEN:3200,fork,reuseaddr TCP:minio:3200"

  web:
    image: ghcr.io/ente-io/web
    ports:
      - "3000:3000" # Photos web app
      - "3002:3002" # Public albums
    environment:
      ENTE_API_ORIGIN: "http://${IP}:${PORT}"
      ENTE_ALBUMS_ORIGIN: "https://${IP}:3002"

  postgres:
    image: postgres:15
    environment:
      POSTGRES_USER: pguser
      POSTGRES_PASSWORD: 
      POSTGRES_DB: ente_db
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -q -d ente_db -U pguser"]
      interval: 10s
      timeout: 5s
      retries: 5
      start_period: 40s
    volumes:
      - "${CONFIG_DIR}/postgres-data:/var/lib/postgresql/data"

  minio:
    image: minio/minio
    ports:
      - 3200:3200 # MinIO API
    environment:
      MINIO_ROOT_USER: minio-user-Av/ztrFm
      MINIO_ROOT_PASSWORD: 
    command: server /data --address ":3200" --console-address ":3201"
    volumes:
      - ${CONFIG_DIR}/minio-data:/data
    post_start:
      - command: |
          sh -c '
          #!/bin/sh

          while ! mc alias set h0 http://minio:3200 minio-user-Av/ztrFm Jczt/BEywUms1wRKJ8BbaMmaxyGy 2>/dev/null
          do
            echo "Waiting for minio..."
            sleep 0.5
          done

          cd /data

          mc mb -p b2-eu-cen
          mc mb -p wasabi-eu-central-2-v3
          mc mb -p scw-eu-fr-v3
          '


db:
      host: postgres
      port: 5432
      name: ente_db
      user: pguser
      password: 

s3:
      are_local_buckets: true
      # Set this to false if using subdomain-style URL. This is set to true for ensuring compatibility with MinIO when SSL is enabled.
      use_path_style_urls: true
      b2-eu-cen:
         # Uncomment the below configuration to override the top-level configuration
         # are_local_buckets: true
         # use_path_style_urls: true
         key: minio-user-Av/ztrFm
         secret: 
         endpoint: ${IP}:3200
         region: eu-central-2
         bucket: b2-eu-cen
      wasabi-eu-central-2-v3:
         # are_local_buckets: true
         # use_path_style_urls: true
         key: minio-user-Av/ztrFm
         secret: J
         endpoint: ${IP}:3200
         region: eu-central-2
         bucket: wasabi-eu-central-2-v3
         compliance: false
      scw-eu-fr-v3:
         # are_local_buckets: true
         # use_path_style_urls: true
         key: minio-user-Av/ztrFm
         secret: 
         endpoint: ${IP}:3200
         region: eu-central-2
         bucket: scw-eu-fr-v3

# Specify the base endpoints for various web 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: http://${IP}:3002
    cast: http://${IP}:3004
    # Set this to the URL where your accounts web app is running, primarily used for
    # passkey based 2FA.
    accounts: http://${IP}:3001

key:
      encryption: 
      hash: 

jwt:
      secret: 
Was this page helpful?