imapfilter
imapfilter copied to clipboard
Add Dockerfile
I came up with a simple dockerfile for imapfilter, might be helpful for easy deployment on servers. All you really need to do is set a bind mount pointing to your config file (see below).
I pushed an image built from that dockerfile to dockerhub. In docker-compose, you can run it with:
version: "3"
services:
imapfilter:
restart: always
image: linusseelinger/imapfilter
container_name: imapfilter
volumes:
- /your/config/imapfilter_config.lua:/config.lua
Would be great to have an officially supported docker setup, maybe this can serve as a starting point!
I'd throw my docker file for imapfilter in the ring as well: https://github.com/ntnn/docker-imapfilter
Thanks for the idea, I added an example Dockerfile, and some instructions at: https://github.com/lefcha/imapfilter/wiki/Docker
Great, thanks a lot! Also, would be great to build this from CI and push to dockerhub, so the image is readily available without the users having to build it themselves. I have a github workflow set up for that task in a different project, should be easy to adapt link. I can help with this if you like!