A docker image for gmrender-resurrect
This is based on this project by hzeller.
REPOSITORY | DESCRIPTION |
---|---|
Source code | GitHub |
Docker images | Docker Hub |
Simply build the docker image running the provided script build.sh
:
./build.sh
NAME | DESCRIPTION |
---|---|
FRIENDLY_NAME | Player friendly name |
UUID | Specify the UUID of the player |
GSTOUT_AUDIOSINK | Can be alsa , alsasink , pulse , pulsesink , defaults to alsa |
GSTOUT_AUDIODEVICE | Specified the audio device. Recommended to user CARD_NAME (or CARD_INDEX ) instead |
GSTOUT_INITIAL_VOLUME_DB | Initial attenuation, in db, example -10 |
USER_MODE | Run as a user, defaults to no |
PUID | Used as the uid |
PGID | Used as the gid |
AUDIO_GID | Set it to the gid of the audio group of the host system if running in user mode with alsa |
CARD_NAME | Specify the alsa card name, example D10 , DAC , X20 |
CARD_INDEX | Specify the alsa card index |
VOLUME | DESCRIPTION |
---|---|
/config | Location of the configuration files |
A very simple alsa
configuration:
---
version: "3"
volumes:
config:
services:
renderer:
image: giof71/gmrender-resurrect:latest
container_name: gmrender-alsa
network_mode: host
devices:
- /dev/snd:/dev/snd
environment:
- PUID=${PUID:-1000}
- AUDIO_GID=${AUDIO_GID:-29}
- CARD_NAME=DAC
- FRIENDLY_NAME=GMRender (DAC)
volumes:
- config:/config
restart: unless-stopped
Find a few sample configurations here.
DATE | DESCRIPTION |
---|---|
2023-12-22 | Initial Release |