Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.6 KB

File metadata and controls

36 lines (25 loc) · 1.6 KB

crymap-container

Containerized Release of https://github.com/AltSysrq/crymap

Usage

Prerequisites

Simplified Example

docker run \ # or `podman` or what ever other container runtime you like
  -p 25:25 -p 465:465 -p 587:587 -p 993:993 \ # these ports need to be publicly available
  -v /path/to/user/data:/etc/crymap/users \ # mount the user data
  -v /path/to/crymap.toml:/etc/crymap/crymap.toml \ # mount your config
  -v /path/to/privkey.pem:/config/path/to/privkey.pem \ # mount pivkey (make sure to adjust path as in your config)
  -v /path/to/fullchain.pem:/config/path/to/fullchain.pem \ # mount fullchain (make sure to adjust path as in your config)
  ghcr.io/molikuner/crymap-container:latest

Logs

The container is configured by default to log to stdout. If that needs to be adjusted, please refer to the official documentation to setup logging.

IPv6

By default the container only binds IPv4 ports. If host networking is used or the container runtime supports IPv6, simply use the /etc/inetd6.conf to bind to IPv4 and IPv6 addresses.

Since the entrypoint of the container is inetd already, it's sufficient to specify the new config as command:

docker run <...> ghcr.io/molikuner/crymap-container:latest /etc/inetd6.conf