help user run "mox localserve" using docker

based on feedback from damian poddebniak
This commit is contained in:
Mechiel Lukkien 2023-12-11 15:56:29 +01:00
parent af5da17623
commit 56b2a9d980
No known key found for this signature in database

View file

@ -10,6 +10,22 @@
# After following the quickstart instructions you can start mox: # After following the quickstart instructions you can start mox:
# #
# docker-compose up # 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' version: '3.7'
services: services: