docker-compose.yml hinzugefügt
This commit is contained in:
31
docker-compose.yml
Normal file
31
docker-compose.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
services:
|
||||
cupsd:
|
||||
image: olbat/cupsd:latest
|
||||
container_name: cupsd
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "631:631"
|
||||
volumes:
|
||||
- /var/run/dbus:/var/run/dbus
|
||||
# Optional: Für USB-Drucker Zugriff auf USB-Bus
|
||||
# - /dev/bus/usb:/dev/bus/usb
|
||||
# privileged: true # Oft nötig für direkten Hardware-Zugriff (USB)
|
||||
|
||||
email2print:
|
||||
image: topgoodman/email2print:latest
|
||||
volumes:
|
||||
- /volume1/docker/email2print/print_email.py:/print_email.py:rw
|
||||
container_name: email2print
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- cupsd
|
||||
environment:
|
||||
- EMAIL_ACCOUNT=d.heller-thien@gmx.de
|
||||
- EMAIL_PASSWORD=t@e2#!NYvKxdUAPpdEYH
|
||||
- IMAP_SERVER=imap.gmx.net
|
||||
- IMAP_PORT=993
|
||||
- SMTP_SERVER=mail.gmx.net
|
||||
- SMTP_PORT=587
|
||||
- PRINTER_NAME=Dell_Color_MFP_H625cdw_
|
||||
- SLEEP_TIME=60
|
||||
- CUPS_SERVER=cupsd:631
|
||||
Reference in New Issue
Block a user