mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-27 15:41:35 +01:00
Update docker doc
This commit is contained in:
@@ -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:
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user