Skip to content

install_docker

zhdenny edited this page May 18, 2024 · 5 revisions

Docker Installation

Docker via Docker Hub

docker run -d \
  --name=daps \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Europe/London \
  -v /path/to/config:/config \
  -v /path/to/kometa/assets/:/kometa \
  -v /path/to/posters:/posters \
  -v /path/to/media:/media \
  --restart unless-stopped \
  drazzilb08/daps

Docker Compose

Compatible with docker-compose v2 schemas.

---
version: "2.1"
services:
  daps:
    image: drazzilb08/daps
    container_name: daps
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - /path/to/config:/config
      - /path/to/kometa/assets/:/kometa
      - /path/to/posters:/posters
      - /path/to/media:/media
    restart: unless-stopped

Docker via GHCR

docker run -d \
  --name=daps \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Europe/London \
  -v /path/to/config:/config \
  -v /path/to/kometa/assets/:/kometa \
  -v /path/to/posters:/posters \
  -v /path/to/media:/media \
  --restart unless-stopped \
  ghcr.io/drazzilb08/daps

Docker Compose via GHCR

Compatible with docker-compose v2 schemas.

---
version: "2.1"
services:
  daps:
    image: ghcr.io/drazzilb08/daps
    container_name: daps
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - /path/to/config:/config
      - /path/to/kometa/assets/:/kometa
      - /path/to/posters:/posters
      - /path/to/media:/media
    restart: unless-stopped

Parameters

Container images are configured using parameters passed at runtime (such as those above).

Parameter Function
-e PUID=1000 for UserID
-e PGID=1000 for GroupID
-e TZ=America/Monterrey specify a timezone to use, see this list.
-v /config where the config.yml file will be
-v /posters Path to posters
-v /kometa Path to kometa's assets directory
-v /media Path to your media directory (used to check for noHL conditions)