chore: docker + license
This commit is contained in:
parent
c0a37003ad
commit
adb421a21d
3 changed files with 56 additions and 0 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
/data
|
||||
/AgentDVR
|
25
README.md
Normal file
25
README.md
Normal 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
29
compose.yml
Normal 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
|
Loading…
Reference in a new issue