Commit 284ba63 1 parent 9f7c678 commit 284ba63 Copy full SHA for 284ba63
File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,16 @@ This is likely to fail due to `mongodb` and `redis` not present in `localhost` i
31
31
``` bash
32
32
FQDN=' example.com'
33
33
MAIL_DOMAIN=' mail.example.com'
34
- docker run --env CMD_ARGS= " \
35
- --dbs.mongo= mongodb://mongo:27017/ \
36
- --dbs.redis= redis://redis:6379/3 \
37
- --smtp.setup.hostname =$FQDN \
38
- --log.gelf.hostname =$FQDN \
39
- --imap.setup.hostname =$FQDN \
40
- --emailDomain =$MAIL_DOMAIN " \
41
- nodemailer/wildduck
34
+ docker run \
35
+ -e APPCONF_dbs_mongo= ' mongodb://mongo:27017/' \
36
+ -e APPCONF_dbs_redis= ' redis://redis:6379/3' \
37
+ -e APPCONF_smtp_setup_hostname =$FQDN \
38
+ -e APPCONF_log_gelf_hostname =$FQDN \
39
+ -e APPCONF_imap_setup_hostname =$FQDN \
40
+ -e APPCONF_emailDomain =$MAIL_DOMAIN \
41
+ nodemailer/wildduck
42
42
```
43
+
43
44
More details available at the [wild-config](https://github.com/nodemailer/wild-config) documentation.
44
45
2. Mount a Docker volume with a custom configuration file:
45
46
You can’t perform that action at this time.
0 commit comments