Skip to content

Commit 284ba63

Browse files
authored
fix(general-docs-docker): fix docker general documentation ZMS-197 (#774)
1 parent 9f7c678 commit 284ba63

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/in-depth/docker.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,16 @@ This is likely to fail due to `mongodb` and `redis` not present in `localhost` i
3131
```bash
3232
FQDN='example.com'
3333
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
4242
```
43+
4344
More details available at the [wild-config](https://github.com/nodemailer/wild-config) documentation.
4445
2. Mount a Docker volume with a custom configuration file:
4546

0 commit comments

Comments
 (0)