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.
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.
| Path | Description |
|---|---|
/home/astria/.config/astria | Configuration and database files |
/var/media | Mount point for your media library (you can mount to any path) |
| Port | Description |
|---|---|
8080 | HTTP web interface and API |
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.
| Variable | Default | Description |
|---|---|---|
ASTRIA_UID | 1000 | UID the server process runs as |
ASTRIA_GID | 1000 | GID the server process runs as |
OLARIS_SERVER_PORT | 8080 | HTTP port inside the container |
OLARIS_SERVER_VERBOSE | true | Enable verbose logging |
OLARIS_DATABASE_CONNECTION | SQLite (default) | Database connection string, e.g. mysql://user:pass@host/db |
OLARIS_CONFIG_DIR | /home/astria/.config/astria | Configuration directory |
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
Content type
Image
Digest
sha256:fddf3d061…
Size
271.3 MB
Last updated
6 months ago
docker pull idrum4316/astria:develop