mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 18:06:36 +02:00
update cronicle
This commit is contained in:
parent
152cfe93c2
commit
f2105254ef
@ -2,11 +2,11 @@
|
||||
# Dockerfile for cronicle
|
||||
#
|
||||
|
||||
FROM node:alpine
|
||||
FROM node:lts-alpine
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache curl tar \
|
||||
&& apk add --no-cache bash coreutils curl jq procps tar \
|
||||
&& curl -sSL https://raw.githubusercontent.com/jhuckaby/Cronicle/master/bin/install.js | node
|
||||
|
||||
WORKDIR /opt/cronicle
|
||||
@ -14,7 +14,7 @@ VOLUME /opt/cronicle/conf
|
||||
|
||||
ENV CRONICLE_foreground=1
|
||||
|
||||
EXPOSE 3012
|
||||
EXPOSE 3012/tcp 3014/udp
|
||||
|
||||
ENTRYPOINT ["bin/control.sh"]
|
||||
CMD ["start"]
|
||||
|
@ -10,7 +10,7 @@ of slave servers, with real-time stats and live log viewer.
|
||||
Written in Node.js, proudly open source and MIT licensed.
|
||||
|
||||
```bash
|
||||
$ mkdir -p data/{conf,data}
|
||||
$ mkdir -p data/{conf,data,logs}
|
||||
$ wget -P data https://github.com/jhuckaby/Cronicle/raw/master/sample_conf/config.json
|
||||
$ wget -P data https://github.com/jhuckaby/Cronicle/raw/master/sample_conf/setup.json
|
||||
$ docker-compose run --rm cronicle setup
|
||||
|
@ -3,9 +3,11 @@ services:
|
||||
cronicle:
|
||||
image: vimagick/cronicle
|
||||
ports:
|
||||
- "3012:3012"
|
||||
- "3012:3012/tcp"
|
||||
- "3014:3014/udp"
|
||||
volumes:
|
||||
- ./data/conf:/opt/cronicle/conf
|
||||
- ./data/data:/opt/cronicle/data
|
||||
- ./data/logs:/opt/cronicle/logs
|
||||
hostname: cronicle-master
|
||||
restart: unless-stopped
|
||||
|
@ -3,7 +3,7 @@ version: '3.8'
|
||||
services:
|
||||
|
||||
yourls:
|
||||
image: yourls:1.8
|
||||
image: yourls:1.9
|
||||
ports:
|
||||
- "8080:80"
|
||||
environment:
|
||||
|
Loading…
Reference in New Issue
Block a user