Repository navigation
Installation
Plateful consists of two containers. Both use the host network, because the backend needs it to find printers:
| Container | Port | Purpose |
|---|---|---|
plateful-webapp (nginx) |
8320 | serves the web app, forwards /api/ and /ws to the backend |
plateful-backend (FastAPI + Snapmaker Orca) |
8321 | accounts, printers, slicing, live channel |
Optional: the Obico ML API (port 3333) for failure detection and Spoolman (port 7912) for spools.
Requirements: a Linux server (x86_64) with Docker and Docker Compose, about 3 GB for the images, free ports 8320 and 8321, and printers on the same network. Docker Desktop on macOS/Windows doesn't fully support host networking.
Prebuilt images (recommended):
mkdir plateful && cd plateful
curl -O https://raw.githubusercontent.com/YwVeEiS/Plateful/main/docker-compose.yml
docker compose up -dFrom source:
git clone https://github.com/YwVeEiS/Plateful.git && cd Plateful
docker compose -f docker-compose.build.yml up -d --buildThen open http://<your-server>:8320. The setup assistant asks for the language, the first account (it becomes the
admin), the name and the accent color.
On NAS systems and home server UIs (Portainer, Unraid, TrueNAS, CasaOS …), import docker-compose.yml as a stack or
app. Set the volume to a folder on your storage, and keep network_mode: host.
docker compose pull && docker compose up -dFrom source: git pull and the same build command as above. Database migrations run on start. Open apps notice the
new version and reload once.
Check the running version:
curl http://<your-server>:8321/api/healthPlateful is meant for your own network. For HTTPS, put a reverse proxy (Caddy, Traefik, Nginx Proxy Manager, plain nginx …) in front of port 8320:
- forward WebSockets (
/ws), - allow large uploads (for nginx:
client_max_body_size 1g;), - pass
X-Forwarded-Proto.
Push notifications only work over HTTPS. For access from outside, use a VPN instead of putting the service on the
internet. Login works over plain http://<server>:8320 too; the cookie is only marked Secure over HTTPS.
Everything is in the data folder (./plateful-data → /data):
| Path | Contents |
|---|---|
plateful.db |
SQLite database |
files/ |
uploaded models |
slices/<id>/ |
slice results and logs (removed after 48 h unless a queued job needs them) |
timelapses/ |
cached timelapse videos |
backups/ |
daily database backups (14 by default, BACKUP_KEEP) |
vapid.pem |
key for push notifications |
Include the folder in your own backups.
| Variable | Default | Meaning |
|---|---|---|
PORT |
8321 |
Backend port |
DATA_DIR |
/data |
Data folder |
TZ |
UTC |
Time zone |
ADMIN_USER, ADMIN_PASSWORD
|
– | Admin on the very first start (otherwise the setup assistant) |
SESSION_DAYS |
90 |
How long logins stay valid |
BACKUP_KEEP |
14 |
Daily backups to keep |
SLICE_PARALLEL |
2 |
Slicing jobs at the same time |
SLICE_TIMEOUT |
900 |
Maximum duration of a slicing job (s) |
MAX_UPLOAD_MB |
1024 |
Largest allowed file |
SPOOLMAN_URL |
– | Preset Spoolman |
DETECT_URL |
– | Preset the Obico ML API |
PLATEFUL_PUSH_SUBJECT |
mailto:plateful@example.com |
Contact for push services |
If a folder with a copy of the backend (app/, requirements.txt, VERSION) is mounted at /code, the backend
runs that code instead of the built-in one. After copying new files, change /code/.reload/stamp.py, and uvicorn
reloads. The web app container works the same way: a folder mounted at /etc/nginx/conf.d is checked every 5 seconds
and reloaded after nginx -t, and the web app files can be mounted at /usr/share/nginx/html. This is handy for
development servers. A new image is only needed when backend/requirements.txt, the Dockerfile or the Orca version
changes.
Using Plateful
- Getting Started
- Printers
- Printing
- Editing and Painting
- Profiles
- Library and Import
- Spools and Statistics
- Failure Detection and Notifications
- Apps
Running and developing