mirror of
https://github.com/byReqz/probehost2.git
synced 2024-11-14 19:23:14 +00:00
add docker files
This commit is contained in:
parent
a62d199c8b
commit
0c4db69e08
6
docker/Dockerfile
Normal file
6
docker/Dockerfile
Normal 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
11
docker/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user