2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01: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 # Dockerfile for cronicle
# #
FROM node:alpine FROM node:lts-alpine
MAINTAINER EasyPi Software Foundation MAINTAINER EasyPi Software Foundation
RUN set -xe \ 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 && curl -sSL https://raw.githubusercontent.com/jhuckaby/Cronicle/master/bin/install.js | node
WORKDIR /opt/cronicle WORKDIR /opt/cronicle
@@ -14,7 +14,7 @@ VOLUME /opt/cronicle/conf
ENV CRONICLE_foreground=1 ENV CRONICLE_foreground=1
EXPOSE 3012 EXPOSE 3012/tcp 3014/udp
ENTRYPOINT ["bin/control.sh"] ENTRYPOINT ["bin/control.sh"]
CMD ["start"] 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. Written in Node.js, proudly open source and MIT licensed.
```bash ```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/config.json
$ wget -P data https://github.com/jhuckaby/Cronicle/raw/master/sample_conf/setup.json $ wget -P data https://github.com/jhuckaby/Cronicle/raw/master/sample_conf/setup.json
$ docker-compose run --rm cronicle setup $ docker-compose run --rm cronicle setup

View File

@@ -3,9 +3,11 @@ services:
cronicle: cronicle:
image: vimagick/cronicle image: vimagick/cronicle
ports: ports:
- "3012:3012" - "3012:3012/tcp"
- "3014:3014/udp"
volumes: volumes:
- ./data/conf:/opt/cronicle/conf - ./data/conf:/opt/cronicle/conf
- ./data/data:/opt/cronicle/data - ./data/data:/opt/cronicle/data
- ./data/logs:/opt/cronicle/logs
hostname: cronicle-master hostname: cronicle-master
restart: unless-stopped restart: unless-stopped

View File

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