Update docker doc

This commit is contained in:
CrazyMax
2019-10-02 00:11:32 +02:00
parent 401bfc8efd
commit 8ae52160c9

View File

@@ -18,13 +18,21 @@ Image: crazymax/diun:latest
- linux/s390x
```
Environment variables can be used within your container:
## Environment variables
* `TZ` : Timezone assigned
* `LOG_LEVEL` : Log level output (default `info`)
* `LOG_JSON`: Enable JSON logging output (default `false`)
* `LOG_CALLER`: Enable to add file:line of the caller (default `false`)
## Volumes
* `/data` : Contains bbolt database which retains Docker images manifests
> :warning: Note that the volume should be owned by uid `1000` and gid `1000`. If you don't give the volume correct permissions, the container may not start.
## Usage
Docker compose is the recommended way to run this image. Copy the content of folder [.res/compose](../../.res/compose) in `/opt/diun/` on your host for example. Edit the compose and config file with your preferences and run the following commands:
```