Archived
25 lines
875 B
Bash
25 lines
875 B
Bash
# Copy to .env in this directory; docker compose reads it on every command.
|
|
|
|
# The image to run: the published one, or radiance:latest for one built here with docker/build.sh
|
|
# (which also tags radiance:<version> and radiance:<commit>).
|
|
RADIANCE_IMAGE=stilldeadcode/radiance:latest
|
|
|
|
# Directory holding the .rad containers, mounted read-only at /models.
|
|
RADIANCE_MODELS=/srv/models/rad
|
|
|
|
# Writable directory mounted at /data: the prefix cache's disk tier lives under it.
|
|
RADIANCE_STATE=/srv/radiance
|
|
|
|
# Every request but /health, /ping and the dashboard page must carry `Authorization: Bearer <key>`.
|
|
RADIANCE_API_KEY=
|
|
|
|
# The port the server listens on.
|
|
PORT=8000
|
|
|
|
# The user the server runs as, and the host's GPU device groups:
|
|
# id -u; id -g; getent group render | cut -d: -f3; getent group video | cut -d: -f3
|
|
RADIANCE_UID=1000
|
|
RADIANCE_GID=1000
|
|
RENDER_GID=
|
|
VIDEO_GID=
|