https://github.com/laisky/go-ramjet
easy cronjob
https://github.com/laisky/go-ramjet
Last synced: 3 months ago
JSON representation
easy cronjob
- Host: GitHub
- URL: https://github.com/laisky/go-ramjet
- Owner: Laisky
- License: mit
- Created: 2018-03-20T07:56:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-21T02:35:59.000Z (3 months ago)
- Last Synced: 2025-03-23T19:53:25.595Z (3 months ago)
- Language: JavaScript
- Size: 2.74 MB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go-Ramjet
[](http://commitizen.github.io/cz-cli/)
[](https://goreportcard.com/report/github.com/Laisky/go-ramjet)
[](https://godoc.org/github.com/Laisky/go-ramjet)Event-driven & Time-scheduler framwork.
## Dockerlize
Make docker image
```sh
docker build . -t ppcelery/go-ramjet:latest
docker push ppcelery/go-ramjet:latest
```Run
```sh
# test
docker run -it --rm \
-v /etc/go-ramjet/settings/settings.yml:/etc/go-ramjet/settings/settings.yml \
-v /data/fluentd/fluentd-conf/backups:/data/fluentd/fluentd-conf/backups \
-e TASKS=heartbeat \
ppcelery/go-ramjet:test \
/main --debug# prod
docker run -it --rm
-v /etc/go-ramjet/settings/settings.yml:/etc/go-ramjet/settings/settings.yml \
-v /data/fluentd/fluentd-conf/backups:/data/fluentd/fluentd-conf/backups \
ppcelery/go-ramjet:latest
```