moving to zabbix
This commit is contained in:
parent
6b276d3f38
commit
15977f3658
77
README.md
77
README.md
@ -1,76 +1,3 @@
|
||||
# grocy-docker
|
||||
use only the docker-compose.yml.
|
||||
|
||||
ERP beyond your fridge - now containerized!
|
||||
|
||||
This repository includes container build infrastructure for [grocy](https://github.com/grocy/grocy).
|
||||
|
||||
[](https://hub.docker.com/r/grocy/grocy/)
|
||||
[](https://hub.docker.com/r/grocy/grocy/)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Follow [these instructions](https://docs.docker.com/install/) to get Docker running on your server.
|
||||
|
||||
## Quickstart
|
||||
|
||||
To get started using pre-built [Docker Hub grocy images](https://hub.docker.com/u/grocy), run the following commands:
|
||||
|
||||
```sh
|
||||
docker-compose pull
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
The grocy application should now be accessible locally to the server:
|
||||
|
||||
- [http://localhost](http://localhost)
|
||||
- [https://localhost](https://localhost)
|
||||
|
||||
Since the images contain self-signed certificates, your browser may display a warning when visiting the HTTPS URL.
|
||||
|
||||
### Configuration
|
||||
|
||||
The grocy application reads configuration settings from environment variables prefixed by `GROCY_`.
|
||||
|
||||
Runtime environment variables are read by `docker-compose` from the [grocy.env](grocy.env) file in this directory.
|
||||
|
||||
The default login credentials are username `admin` and password `admin`; please change these before providing end-user access to your deployment.
|
||||
|
||||
#### Demo Mode
|
||||
|
||||
To run the container in demo mode, override the `GROCY_MODE` environment variable at application run-time:
|
||||
|
||||
```sh
|
||||
GROCY_MODE=demo docker-compose up
|
||||
```
|
||||
|
||||
### Build
|
||||
|
||||
#### Docker Images
|
||||
|
||||
```sh
|
||||
docker-compose build
|
||||
```
|
||||
|
||||
Note: if you experience build failures as a result of GitHub API [rate limiting](https://developer.github.com/v3/#rate-limiting), you may optionally provide a GitHub API key (preferably restricted to `read:packages` scope) at build-time:
|
||||
|
||||
```sh
|
||||
GITHUB_API_TOKEN='your-token-here' docker-compose build
|
||||
```
|
||||
|
||||
### Vulnerability Scans
|
||||
|
||||
Support is provided for running image vulnerability scans using the [snyk](https://www.npmjs.com/package/snyk) CLI tool.
|
||||
|
||||
This requires authentication with [Snyk](https://snyk.io/) during the vulnerability scanning process.
|
||||
|
||||
You can read more about Snyk's vulnerability database [here](https://support.snyk.io/hc/en-us/articles/360003968978-How-efficient-is-our-Vulnerability-Database-).
|
||||
|
||||
To perform a vulnerability scan, use the following command:
|
||||
|
||||
```sh
|
||||
npm run test
|
||||
```
|
||||
|
||||
#### OCI Images
|
||||
|
||||
Optional support for building [opencontainer](https://www.opencontainers.org/) images is available via the [Makefile](Makefile) provided.
|
||||
The rest was for a previous install
|
||||
Loading…
Reference in New Issue
Block a user