Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsreport/docker
https://github.com/jsreport/docker
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jsreport/docker
- Owner: jsreport
- Created: 2014-11-07T14:42:20.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-19T20:24:19.000Z (almost 8 years ago)
- Last Synced: 2024-11-04T09:37:35.773Z (about 1 month ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 11
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - jsreport/docker - (others)
README
> #**DEPRECATED** - dockerfiles were moved to the [main repository/docker](https://github.com/jsreport/jsreport/tree/master/docker)
#jsreport/jsreport
[jsreport/jsreport](https://registry.hub.docker.com/u/jsreport/jsreport/) is a [docker](https://www.docker.com/) based image for easily running [jsreport](http://jsreport.net) reporting server.
##Usage
1. Install [Docker](https://www.docker.com/)
2. `sudo docker run -p 80:5488 jsreport/jsreport`This is the most basic usage. It will start jsreport server on port 80 directly in the current shell with data and configuration stored directly in container. Change 80 http port to whatever you want.
However it is recommended to run jsreport in the following way.
1. create directory where the jsreport persistent data and configuration will resists
2. `sudo docker run -d -p 80:5488 --restart always -v /jsreport-home:/jsreport jsreport/jsreport` where the first `/jsreport-home` path is path to directory created in the previous stepThis will start jsreport as a daemon and restart it after system reboot as well. `/jsreport-home` folder will be used to store persistent data and configuration. Changes will take an effect after container restart.