nodemailer / wildduck-webmail

Demo webmail service for WildDuck Mail Server
https://wildduck.email/
Other
144 stars 45 forks source link

Dockerfile --config not found #36

Closed pradyparanjpe closed 10 months ago

pradyparanjpe commented 3 years ago

Background

I'm running a podman pod with wildduck-webmail as a contianer named webmail (alongside wildduck, redis, mongo, which are up and running)

Error:

webmail container exits with error logged as:

$ podman logs webmail

Output:

Error: ["/etc/wildduck/www.toml"] "/etc/wildduck/www.toml": ENOENT: no such file or directory, open '"/etc/wildduck/www.toml"'

It Exists:

I can access /etc/wildduck/www.toml using

$ podman exec -it ls /etc/wildduck/www.toml

Output:

/etc/wildduck/www.conf

(it does exist)

pradyparanjpe commented 3 years ago

Workaround:

added to my container-compose.yml (docker-compose.yml)

entrypoint: ["node", "server.js", "--config=/etc/wildduck/www.toml"]

laurivosandi commented 10 months ago

This was due to buggy Dockerfile that was fixed with https://github.com/nodemailer/wildduck-webmail/commit/2a944292dd6e61706fa7230ed1423814c273bdbc