Emby
Runs Emby Server with persistent configuration storage and standard web ports exposed. This template is used for managing and streaming personal media libraries from a self-hosted server.
yaml
docker-compose.yml
services:
emby:
image: emby/embyserver:latest
restart: unless-stopped
ports:
- ${EMBY_HTTP_PORT}:8096
- ${EMBY_HTTPS_PORT}:8920
environment:
UID: ${UID}
GID: ${GID}
GIDLIST: ${GIDLIST}
volumes:
- emby_config:/config
- emby_media:/mnt/share
volumes:
emby_config:
emby_media:
.ENV
.env example
UID=1000
GID=1000
GIDLIST=1000
EMBY_HTTP_PORT=8096
EMBY_HTTPS_PORT=8920
deployment
Quick Start
- Create a working directory named after the service.
- Copy the compose file and generated `.env` into that directory.
- Review the variables and replace placeholders with real values.
- Run `docker compose up -d`.
mkdir emby
cd emby
# create docker-compose.yml
# create .env
docker compose up -d