Services needed
- Redis
- Postgresql
- A resend account or any SMTP provider for emailing
- Maxmind country and city dbs ( they are free to download )
Backend
Malak’s backend runs with very minimal hardware requirements by itself, you really need as little as 512MB ram amongst others. For production, we strongly recommend Linux but it should work across Windows and macOS tooWe offer white glove self-hosting services. Shoot us an email at
[email protected]
.env
or your .yml
config file but if using .env
,
it should look like below:
You can generate you
aes_gcm
key with LC_ALL=C tr -dc 'A-Za-z0-9' </dev/urandom | head -c 32; echo
Download the maxmind country db and city db then use their path
There are way more options but you can find other
options
Running
Prerequisites:Kubernetes
VPS, bare metal
To run the actual server, you need the following command:Systemd service
You can use this sample Systemd configuration to run the service.Docker
gh attestation verify oci://ghcr.io/ayinke-llc/malak:{TAG} --owner ayinke-llc --predicate-type https://in-toto.io/attestation/release/v0.1
Plans
You need to have atleast one plan in yourplans
table. There are two ways to do this:
malak plans create
- Import this sample sql into your database. Github gist