Docker container for telerising-api based on alpine.
---
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 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
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 |
The /config volume is primarily used to store the settings.json
file. However, it can also be used to replace any files in the application folder. All files in /config are automatically symlinked to the application folder. This allows you to overwrite the providers.json
file, for example:
/config
├── app
│ └── static
│ └── json
│ └── providers.json
└── settings.json