Docker (standalone)
Set DB_* so the entrypoint can apply migrations, and point config.yaml database.* at the same MySQL instance.
Bash
docker pull ghcr.io/jamesread/spaghetticannon:latest
docker create \
--name SpaghettiCannon \
-e DB_HOST=mariadb \
-e DB_USER=spaghetticannon \
-e DB_PASS=password \
-e DB_NAME=spaghetticannon \
-v spaghetticannon-config:/config \
-p 8080:8080 \
--restart unless-stopped \
ghcr.io/jamesread/spaghetticannon:latest
See Database migrations.