First push from Satoshi Portal's own cyphernode

This commit is contained in:
kexkey
2018-09-22 14:49:26 -04:00
commit c39f81f683
47 changed files with 3517 additions and 0 deletions

11
cron_docker/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM alpine
RUN apk add --update --no-cache \
curl
COPY callbacks_cron /etc/periodic/15min/callbacks_cron
RUN chmod +x /etc/periodic/15min/callbacks_cron
ENTRYPOINT ["crond"]
CMD ["-f"]

13
cron_docker/README.md Normal file
View File

@@ -0,0 +1,13 @@
# Cyphernode CRON container
## Configure your container by modifying `env.properties` file
```properties
PROXY_URL=cyphernode:8888/executecallbacks
```
## Building docker image
```shell
docker build -t proxycronimg .
```

View File

@@ -0,0 +1,3 @@
#!/bin/sh
curl ${PROXY_URL}

View File

@@ -0,0 +1 @@
PROXY_URL=cyphernode:8888/executecallbacks