docker support
parent
8588800025
commit
edd837e2a1
|
@ -0,0 +1,20 @@
|
||||||
|
# docker run -d -p 8000:8000 alseambusher/crontab-ui
|
||||||
|
FROM alpine:3.5
|
||||||
|
|
||||||
|
LABEL maintainer "@alseambusher"
|
||||||
|
LABEL description "Crontab-UI docker"
|
||||||
|
|
||||||
|
RUN apk --no-cache add \
|
||||||
|
nodejs \
|
||||||
|
wget \
|
||||||
|
curl
|
||||||
|
|
||||||
|
RUN npm install -g crontab-ui
|
||||||
|
|
||||||
|
ENV HOST 0.0.0.0
|
||||||
|
|
||||||
|
ENV PORT 8000
|
||||||
|
|
||||||
|
EXPOSE $PORT
|
||||||
|
|
||||||
|
CMD ["crontab-ui"]
|
|
@ -32,6 +32,10 @@ Also, you may have to **set permissions** for your `node_modules` folder. Refer
|
||||||
If you need to autosave your changes to crontab directly:
|
If you need to autosave your changes to crontab directly:
|
||||||
|
|
||||||
crontab-ui --autosave
|
crontab-ui --autosave
|
||||||
|
|
||||||
|
Setting up with docker:
|
||||||
|
|
||||||
|
docker run -d -p 8000:8000 alseambusher/crontab-ui
|
||||||
|
|
||||||
## Resources
|
## Resources
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "crontab-ui",
|
"name": "crontab-ui",
|
||||||
"version": "0.2.8",
|
"version": "0.2.9",
|
||||||
"description": "Easy and safe way to manage your crontab file",
|
"description": "Easy and safe way to manage your crontab file",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue