fix(README): describe environment variables
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2021-09-12 19:51:15 +02:00
parent 8d48d4d458
commit 389bfb967c
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -71,12 +71,40 @@ services:
network_mode: host network_mode: host
``` ```
## Build container image manually ## Environment variables
To build the images manually check out the repository on ### DATABASE_TYPE
[github](https://github.com/volker-raschek/fetchmail-docker) with git and use
the make command to build the container image.
```bash Currently will be only postgres, mysql and mariadb supported. About the
make container-image/build environment variable `DATABASE_TYPE` can the backend type defined. The value is
``` required.
| database type | value |
| ------------- | ----- |
| mysql/mariadb | `my` |
| postgres | `Pg` |
### DATABASE_USER
The environment variable `DATABASE_USER` is undefined and required. The value
contains the database user which one fetchmail use to login.
### DATABASE_PASSWORD
The environment variable `DATABASE_PASSWORD` is undefined and required. The value
contains the password of the database user which one fetchmail use to login.
### DATABASE_HOST
The environment variable `DATABASE_HOST` is undefined and required. The value
contains the DNS name or IP address of the host, where the database is hosted.
### DATABASE_PORT
The environment variable `DATABASE_PORT` is undefined and required. The value
contains the port of the host, where the database is listen on.
### DATABASE_NAME
The environment variable `DATABASE_NAME` is undefined and required. The value
contains the name of the database against which should be logged in.