Self-host Manyfold with Levelrail

A self-hosted manager for 3D printing model libraries with tags, previews and sharing, backed by Postgres and Redis. Create the first admin on first open.

  • Authormanyfold3d
  • LicenceMIT
  • Memory768 MiB
  • Services3

How to self-host Manyfold

  1. Pull the images

    3 images are pulled on your server.

    Show images
    • postgres:17.11-alpine
    • ghcr.io/manyfold3d/manyfold:0.154.1
    • redis:7.4.7-alpine
  2. Create the app

    3 services start in a single Compose app, with 3 named volume mounts for your data, on port 3214.

  3. Fill in the secrets

    3 secrets are generated and stored encrypted, 10 settings are preset, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

After the first start

  • Open the page and create the first admin account, then add a library path.

Manyfold requirements

Memory
About 768 MiB
Architectures
amd64 unknown, arm64 unknown
Ports
3214
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
MIT, permissive license
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Manyfold. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the Manyfold docs page.

Deploy Manyfold your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy Manyfold from the CLI

Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain db=app.example.com.

levelrail-cli templates install manyfold --name my-manyfold

Deploy Manyfold with the API

Create a token in the dashboard first. Name, env and domains are the request fields.

curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  https://levelrail.example.com/api/v1/service-templates/manyfold/install \
  -d '{
    "name": "my-manyfold"
  }'

Manyfold configuration

Manyfold services

ServiceImagePortsVolumes
db postgres:17.11-alpine none pgdata -> /var/lib/postgresql/data
manyfold ghcr.io/manyfold3d/manyfold:0.154.1 3214 libraries -> /libraries
redis redis:7.4.7-alpine none redis_data -> /data

Manyfold environment variables

VariableServiceValue
POSTGRES_DB db Preset by the template
POSTGRES_PASSWORD db Generated at deploy
POSTGRES_USER db Preset by the template
DATABASE_ADAPTER manyfold Preset by the template
DATABASE_HOST manyfold Preset by the template
DATABASE_NAME manyfold Preset by the template
DATABASE_PASSWORD manyfold Generated at deploy
DATABASE_PORT manyfold Preset by the template
Show all 13 variables
  • DATABASE_USERmanyfoldPreset by the template
  • PGIDmanyfoldPreset by the template
  • PUIDmanyfoldPreset by the template
  • REDIS_URLmanyfoldPreset by the template
  • SECRET_KEY_BASEmanyfoldGenerated at deploy

Ports and volumes

Ports
3214
Volumes
3 named mounts: pgdata -> /var/lib/postgresql/data, libraries -> /libraries, redis_data -> /data

Manyfold FAQ

How much memory does Manyfold need?

The catalog lists about 768 MiB of memory for Manyfold across its 3 services.

Does Manyfold run on arm64?

For Manyfold, arm64 support is not confirmed; amd64 is unknown.

What licence is Manyfold under?

Manyfold is licensed under MIT, which is permissive, with few conditions on reuse.

Does Manyfold need configuration before it starts?

No. The template fills in its own defaults and generates secrets at deploy time.

Which database does Manyfold bundle?

The template includes Postgres and Redis, running as its own service.

Which ports does Manyfold use?

Manyfold listens on port 3214 inside the stack.

Where does Manyfold keep its data?

In named volumes: pgdata mounted at /var/lib/postgresql/data, libraries mounted at /libraries and redis_data mounted at /data.

Can I deploy Manyfold on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Manyfold, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image postgres:17.11-alpine, ghcr.io/manyfold3d/manyfold:0.154.1, redis:7.4.7-alpine is what you deploy there.

levelrail-cli templates install manyfold --name my-manyfold