docker-documentation/docs/images/docker-lsio-api.md

52 wiersze
1.5 KiB
Markdown

---
title: lsio-api
---
<!-- DO NOT EDIT THIS FILE MANUALLY -->
<!-- Please read https://github.com/linuxserver/docker-lsio-api/blob/main/.github/CONTRIBUTING.md -->
[linuxserverurl]: https://linuxserver.io
[forumurl]: https://discourse.linuxserver.io
[huburl]: https://hub.docker.com/r/linuxserver/lsio-api/
[pipelineurl]: https://github.com/linuxserver/pipeline-triggers
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png?v=4&s=4000)][linuxserverurl]
## Contact information:-
| Type | Address/Details |
| :---: | --- |
| Discord | [Discord](https://discord.gg/linuxserver) |
| Forum | [Linuserver.io forum][forumurl] |
# [linuxserver/lsio-api][huburl]
**This container is not meant for public consumption as it is hard coded to LinuxServer repos**
The purpose of this container expose an API for LinuxServer.
## Usage
The container can be run locally:
```
docker run -d \
--name=lsioapi \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Etc/UTC \
-e CI=0 `#optional` \
-e DB_FILE=/config/api.db `#optional` \
-e INVALIDATE_HOURS=24 `#optional` \
-e PAT=token `#optional` \
-e SCARF_TOKEN=token `#optional` \
-e URL=http://localhost:8000 `#optional` \
-p 8000:8000 \
-v /path/to/lsio-api/config:/config \
--restart unless-stopped \
lscr.io/linuxserver/lsio-api:latest
```
The following line is only in this repo for loop testing:
- { date: "01.01.50:", desc: "I am the release message for this internal repo." }