add docker files

This commit is contained in:
Nils 2021-12-28 04:29:37 +01:00
parent a62d199c8b
commit 0c4db69e08
Signed by: byreqz
GPG Key ID: 396A62D7D436749E
2 changed files with 17 additions and 0 deletions

6
docker/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM alpine:latest
RUN apk update
RUN apk add curl jq
RUN curl -s https://api.github.com/repos/byReqz/probehost2/releases/latest | jq -r '.assets[].browser_download_url' | grep "probehost2" | xargs curl -L -o probehost2
ENTRYPOINT ["/probehost2"]

11
docker/docker-compose.yml Normal file
View File

@ -0,0 +1,11 @@
version: '2.3'
services:
probehost2:
container_name: probehost2
image: byreqz/probehost2:latest
restart: unless-stopped
ports:
- 1234:8000
volumes:
- ./probehost2.log:/probehost2.log