From e4110309ddde965e9147d93141fe4a1552f79f08 Mon Sep 17 00:00:00 2001 From: Johannes Przymusinski Date: Thu, 11 Aug 2022 22:00:29 +0200 Subject: [PATCH] task: update examples for new configuration --- examples/config.yaml | 6 ++++++ examples/docker-compose.yaml | 2 ++ examples/imap-exporter.env | 4 +--- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 examples/config.yaml diff --git a/examples/config.yaml b/examples/config.yaml new file mode 100644 index 0000000..5147d7f --- /dev/null +++ b/examples/config.yaml @@ -0,0 +1,6 @@ +server: +- hostname: 'imap.mail.com' + port: '993' + accounts: + - username: 'e@mail.com' + password: 'env:E_MAIL_COM_PW' \ No newline at end of file diff --git a/examples/docker-compose.yaml b/examples/docker-compose.yaml index 0f9c790..8f1c97e 100644 --- a/examples/docker-compose.yaml +++ b/examples/docker-compose.yaml @@ -4,6 +4,8 @@ services: imap-exporter: image: "ghcr.io/jop-software/imap-mailbox-exporter:latest" + volumes: + - ./config.yaml:/config.yaml env_file: - "imap-exporter.env" ports: diff --git a/examples/imap-exporter.env b/examples/imap-exporter.env index 1651b70..3b0dfce 100644 --- a/examples/imap-exporter.env +++ b/examples/imap-exporter.env @@ -1,3 +1 @@ -IMAP_SERVER="" -IMAP_USERNAME="" -IMAP_PASSWORD="" \ No newline at end of file +E_MAIL_COM_PW="my-very-secure-password" \ No newline at end of file