1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00

update cronicle

This commit is contained in:
kev 2022-08-17 16:28:19 +08:00
parent 152cfe93c2
commit f2105254ef
4 changed files with 8 additions and 6 deletions

View File

@ -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"]

View File

@ -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

View File

@ -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

View File

@ -3,7 +3,7 @@ version: '3.8'
services:
yourls:
image: yourls:1.8
image: yourls:1.9
ports:
- "8080:80"
environment: