Skip to content

molikuner/crymap-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages