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

  1. Create a working directory named after the service.
  2. Copy the compose file and generated `.env` into that directory.
  3. Review the variables and replace placeholders with real values.
  4. Run `docker compose up -d`.
mkdir emby
cd emby
# create docker-compose.yml
# create .env
docker compose up -d