Spoonjoy
Run Spoonjoy on your own server
The same Spoonjoy as spoonjoy.app, in one container on your own box, for amd64 and arm64. Your recipes, photos and accounts stay in one data volume you keep.
Built from source for now
The published image opens to everyone soon. Until then, this Compose file builds Spoonjoy from its public source the first time it starts, which takes a few minutes.
Start it
Save this as compose.yaml:
# Spoonjoy with Docker Compose. Start it
# beside this file with `docker compose up -d`,
# then open http://localhost:8080.
# Set SPOONJOY_BASE_URL to the address people
# use; docs/self-hosting.md lists every setting.
services:
spoonjoy:
# Built from Spoonjoy's public source on the
# first start, which takes a few minutes, until
# the published image opens to everyone. Then
# this line takes over from the image: line
# and the build: block below it:
# image: ${SPOONJOY_IMAGE:-ghcr.io/spoonjoy/spoonjoy:latest}
image: ${SPOONJOY_IMAGE:-spoonjoy-source}
build:
context: https://github.com/spoonjoy/spoonjoy-v2.git#main
dockerfile: self-host/Dockerfile.source
args:
BUILDKIT_CONTEXT_KEEP_GIT_DIR: "1"
restart: unless-stopped
ports:
- "${SPOONJOY_PORT:-8080}:8080"
volumes:
- spoonjoy-data:/data
environment:
SPOONJOY_BASE_URL: ${SPOONJOY_BASE_URL:-http://localhost:8080}
volumes:
spoonjoy-data:
Then start it beside that file:
docker compose up -dOpen http://localhost:8080 and sign up. To use another address or port, set SPOONJOY_BASE_URL and SPOONJOY_PORT in a .env file beside it.
What the first account gets
The first account you make is the server's admin. In Server settings, the admin:
- decides who else can join: the server is invite-only after the first account, and each invite link signs up one person;
- picks the AI, OpenAI or Gemini with their own key, or no AI at all;
- looks after backups: the server backs itself up every day and keeps the last 7, and the admin can back up, download or restore from there.
Everyone signs in with a password or a passkey, and with Sign in with Apple in the Spoonjoy apps. You can add your own sign-in provider too.
Update it
Your kitchen lives in the data volume, so an update swaps only the server. Beside compose.yaml:
docker compose build && docker compose up -dThe new image brings the database up to date when it starts. Make a backup first if you might want to go back.
Every setting, backups from the command line, and how it's checked are in the self-hosting guide.