Sign inSign up

idrum4316/astria

By idrum4316

•Updated 6 months ago

Image
0

708

idrum4316/astria repository overview

⁠Astria

Astria is an open-source, community-driven media manager and transcoding server. It indexes your video library, fetches metadata, and provides on-the-fly transcoding so you can stream your media from any browser.

⁠Quick Start

docker run -d \
  --name astria \
  -p 8080:8080 \
  -v /path/to/media:/var/media \
  -v /path/to/config:/home/astria/.config/astria \
  idrum4316/astria

Then open http://localhost:8080⁠ in your browser.

When adding a library in the Astria UI, remember that your media is mounted at /var/media inside the container.

⁠Volumes

PathDescription
/home/astria/.config/astriaConfiguration and database files
/var/mediaMount point for your media library (you can mount to any path)

⁠Ports

PortDescription
8080HTTP web interface and API

⁠User / Group ID

By default, the container runs as UID/GID 1000. If your media files are owned by a different user, you can set ASTRIA_UID and ASTRIA_GID to match:

docker run -d \
  --name astria \
  -p 8080:8080 \
  -e ASTRIA_UID=$(id -u) \
  -e ASTRIA_GID=$(id -g) \
  -v /path/to/media:/var/media \
  -v /path/to/config:/home/astria/.config/astria \
  idrum4316/astria

This ensures the process inside the container can read your media files and write config/database files with the correct ownership.

⁠Environment Variables

VariableDefaultDescription
ASTRIA_UID1000UID the server process runs as
ASTRIA_GID1000GID the server process runs as
OLARIS_SERVER_PORT8080HTTP port inside the container
OLARIS_SERVER_VERBOSEtrueEnable verbose logging
OLARIS_DATABASE_CONNECTIONSQLite (default)Database connection string, e.g. mysql://user:pass@host/db
OLARIS_CONFIG_DIR/home/astria/.config/astriaConfiguration directory

⁠Docker Compose

version: "3"
services:
  astria:
    image: idrum4316/astria
    restart: unless-stopped
    ports:
      - "8080:8080"
    environment:
      - ASTRIA_UID=1000
      - ASTRIA_GID=1000
    volumes:
      - ./config:/home/astria/.config/astria
      - /path/to/media:/var/media

⁠Source Code

Tag summary

Content type

Image

Digest

sha256:fddf3d061…

Size

271.3 MB

Last updated

6 months ago

docker pull idrum4316/astria:develop