Skip to content

Commit

Permalink
task: update examples for new configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cngJo committed Aug 11, 2022
1 parent 775aabc commit e411030
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions examples/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
server:
- hostname: 'imap.mail.com'
port: '993'
accounts:
- username: '[email protected]'
password: 'env:E_MAIL_COM_PW'
2 changes: 2 additions & 0 deletions examples/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions examples/imap-exporter.env
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
IMAP_SERVER=""
IMAP_USERNAME=""
IMAP_PASSWORD=""
E_MAIL_COM_PW="my-very-secure-password"

0 comments on commit e411030

Please sign in to comment.