From 56b2a9d98079ccb07514bf090cd54aaf5134a7c4 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Mon, 11 Dec 2023 15:56:29 +0100 Subject: [PATCH] help user run "mox localserve" using docker based on feedback from damian poddebniak --- docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index a2af6c1..9d72227 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,22 @@ # After following the quickstart instructions you can start mox: # # docker-compose up +# +# +# If you want to run "mox localserve", you could start it like this: +# +# docker run \ +# -p 127.0.0.1:25:1025 \ +# -p 127.0.0.1:465:1465 \ +# -p 127.0.0.1:587:1587 \ +# -p 127.0.0.1:993:1993 \ +# -p 127.0.0.1:143:1143 \ +# -p 127.0.0.1:443:1443 \ +# -p 127.0.0.1:80:1080 \ +# r.xmox.nl/mox:latest mox localserve -ip 0.0.0.0 +# +# The -ip flag ensures connections to the published ports make it to mox, and it +# prevents listening on ::1 (IPv6 is not enabled in docker by default). version: '3.7' services: