https://github.com/molikuner/crymap-container
Containerized Release of https://github.com/AltSysrq/crymap
https://github.com/molikuner/crymap-container
Last synced: 3 months ago
JSON representation
Containerized Release of https://github.com/AltSysrq/crymap
- Host: GitHub
- URL: https://github.com/molikuner/crymap-container
- Owner: molikuner
- License: gpl-3.0
- Created: 2025-07-23T17:54:02.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-10-03T20:02:44.000Z (9 months ago)
- Last Synced: 2025-10-03T21:37:44.864Z (9 months ago)
- Language: Dockerfile
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crymap-container
Containerized Release of https://github.com/AltSysrq/crymap
## Usage
### Prerequisites
* a crymap config as described in [the official crymap documentation](https://altsysrq.github.io/crymap/admin-guide/config.html).
* a TLS certificate (e.g. from [Let's Encrypt](https://letsencrypt.org/))
* a secure place to save the user data (and keep it backed up regularly)
### Simplified Example
```shell
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](https://altsysrq.github.io/crymap/admin-guide/config.html#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:
```shell
docker run <...> ghcr.io/molikuner/crymap-container:latest /etc/inetd6.conf
```