frames icon indicating copy to clipboard operation
frames copied to clipboard

How to install

Open azeem39 opened this issue 3 years ago • 2 comments

Hello, can you please provide a guide on how to set it up on Ubuntu server

azeem39 avatar Aug 19 '22 04:08 azeem39

Use docker compose, the setup instructions are in the README

driftywinds avatar Apr 01 '25 05:04 driftywinds

this kinda works on my machine. need to install docker.

/root/frames/docker-compose.yml:

version: '3'

services:
  frames:
    container_name: frames
    image: elevenam/frames:dev
    ports:
      - "3000:3000"
    volumes:
# change /root/media to point to your media folder, with tvshows and movies subfolder in it, and when prompted the movie location in browser type in /media
      - /root/media:/media 
#      - ./app:/usr/src/app
    environment:
      - DATABASE_URL=postgres://frames:password@frame_postgres:5432/frames
      - DIRECT_DATABASE_URL=postgres://frames:password@frame_postgres:5432/frames
      - REDIS_HOST=frame_redis
      - REDIS_PORT=6379
      - REDIS_TTL=86400
      - REDIS_DB=0
      - JWT_SECRET=password
    depends_on:
      - frame_postgres
      - frame_redis

  frame_postgres:
    container_name: frame_postgres
    image: pgvector/pgvector:pg14
    environment:
      - POSTGRES_USER=frames
      - POSTGRES_PASSWORD=password
      - POSTGRES_DB=frames
    volumes:
      - ./postgres_data:/var/lib/postgresql/data

  frame_redis:
    container_name: frame_redis
    image: redis:alpine
    volumes:
      - ./redis_data:/data

C-Fu avatar Apr 21 '25 04:04 C-Fu