chore: docker + license

This commit is contained in:
DevMiner 2024-01-15 23:11:53 +01:00
parent c0a37003ad
commit adb421a21d
Signed by: DevMiner
GPG key ID: 251708456D625398
3 changed files with 56 additions and 0 deletions

2
.dockerignore Normal file
View file

@ -0,0 +1,2 @@
/data
/AgentDVR

25
README.md Normal file
View file

@ -0,0 +1,25 @@
# YoinkDVR
Proxy for AgentDVR to get a "valid" license.
> Note: This is **not** a business license. It is literally just so that AgentDVR will shut up about the license being
> weird.
## Setup
1. Generate a self-signed certificate for `www.ispyconnect.com` and place it in the `ssl` directory. (I recommend
using [step](https://smallstep.com/docs/step-cli/installation/))
```shell
step certificate create ssl data/ssl.crt data/ssl.key \
--profile self-signed --subtle \
--san www.ispyconnect.com
```
2. Add the SSL certificate to your host's trusted root certificates.
```shell
sudo cp data/ssl.crt /usr/local/share/ca-certificates/yoinkdvr.crt
sudo update-ca-certificates
```
3. Run both containers:
```shell
docker-compose up -d
```

29
compose.yml Normal file
View file

@ -0,0 +1,29 @@
version: '3'
services:
yoinkdvr:
build: .
restart: unless-stopped
volumes:
- ./data:/data
agentdvr:
image: mekayelanik/ispyagentdvr:latest
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
ports:
- 8090:8090
- 3478:3478/udp
- 50000-50010:50000-50010/udp
volumes:
- ./AgentDVR/config/:/AgentDVR/Media/XML/
- ./AgentDVR/media/:/AgentDVR/Media/WebServerRoot/Media/
- ./AgentDVR/commands:/AgentDVR/Commands/
- /etc/ssl:/etc/ssl:ro
depends_on:
- yoinkdvr
links:
- yoinkdvr:www.ispyconnect.com