Skip to content

Latest commit

 

History

History
52 lines (45 loc) · 1.6 KB

README.md

File metadata and controls

52 lines (45 loc) · 1.6 KB

docker build latest version image size

telerising-api-docker

Docker container for telerising-api based on alpine.

Usage

docker-compose

---
version: "2.1"
services:
  telerising-api:
    image: ghcr.io/lucasheld/telerising-api
    container_name: telerising-api
    restart: unless-stopped
    ports:
      - 5000:5000
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /path/to/config:/config

docker cli

docker run -d \
  --name=telerising-api \
  --restart unless-stopped \
  -p 5000:5000 \
  -e PUID=1000 \
  -e PGID=1000 \
  -v /etc/localtime:/etc/localtime:ro \
  -v /path/to/config:/config \
  ghcr.io/lucasheld/telerising-api

Parameters

Parameter Explanation
-p 5000 The webinterface port
-e PUID The user id that executes the application
-e PGID The group Id that executes the application
-v /config The application config folder
-v /etc/localtime The container localtime