Skip to content

Commit

Permalink
Add second docker-compose example file for accounts-based config
Browse files Browse the repository at this point in the history
  • Loading branch information
smkent committed Nov 5, 2022
1 parent a342aa8 commit 964307d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
12 changes: 12 additions & 0 deletions docker-compose.accounts-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: "3.7"

services:
safeway-coupons:
image: ghcr.io/smkent/safeway-coupons:latest
environment:
CRON_SCHEDULE: "0 2 * * *"
SMTPHOST: your.smtp.host
SAFEWAY_ACCOUNTS_FILE: /accounts_file
restart: unless-stopped
volumes:
- path/to/safeway_accounts_file:/accounts_file:ro
7 changes: 4 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ services:
environment:
CRON_SCHEDULE: "0 2 * * *"
SMTPHOST: your.smtp.host
SAFEWAY_ACCOUNTS_FILE: /accounts_file
SAFEWAY_ACCOUNT_USERNAME: [email protected]
SAFEWAY_ACCOUNT_PASSWORD: very_secret
SAFEWAY_ACCOUNT_MAIL_FROM: [email protected]
SAFEWAY_ACCOUNT_MAIL_TO: [email protected]
restart: unless-stopped
volumes:
- path/to/safeway_accounts_file:/accounts_file:ro

0 comments on commit 964307d

Please sign in to comment.