services: imap-spam-cleaner: image: dominicgisler/imap-spam-cleaner:latest container_name: imap-spam-cleaner hostname: imap-spam-cleaner restart: always ports: - "8080:8080" volumes: - ./config.yml:/app/config.yml:ro # required - ./store.db:/app/store.db:rw # optional # SpamAssassin is an optional service # spamassassin: # image: axllent/spamassassin # ports: # - "783:783" # restart: always # environment: # - DNS_CHECKS=1 # volumes: # - spamassassin_data:/var/lib/spamassassin # #volumes: # spamassassin_data: {}