- Add Language default ("jp") so missing field no longer produces empty
string, and include language selector in setup wizard
- Add --setup flag to re-run wizard even when config.json exists,
providing a recovery path for corrupted configs
- Auto-apply seed data on fresh databases so users who skip the wizard
still get shops, events, and gacha
- Fix stale docs referencing non-existent init/setup.sh and
schemas/patch-schema/ in docker/README, CONTRIBUTING, and README
Docker for Erupe
Quick Start
-
From the repository root, copy and edit the config:
cp config.example.json docker/config.jsonEdit
docker/config.json— setDatabase.Hostto"db"andDatabase.Passwordto matchdocker-compose.yml(default:password). The example config is minimal; seeconfig.reference.jsonfor all available options. -
Place your quest/scenario files in
docker/bin/. -
Start everything:
cd docker docker compose up
The database schema is automatically applied on first start via the embedded migration system.
pgAdmin is available at http://localhost:5050 (default login: user@pgadmin.com / password).
Building Locally
By default the server service pulls the prebuilt image from GHCR. To build from source instead, edit docker-compose.yml: comment out the image line and uncomment the build section, then:
docker compose up --build
Stopping the Server
docker compose stop # Stop containers (preserves data)
docker compose down # Stop and remove containers (preserves data volumes)
To delete all persistent data, remove these directories after stopping:
docker/db-data/docker/savedata/
Updating
After pulling new changes, rebuild and restart. Schema migrations are applied automatically on startup.
docker compose down
docker compose build
docker compose up
Troubleshooting
Postgres won't start on Windows: Ensure docker/db-data/ doesn't contain stale data from a different PostgreSQL version. Delete it and restart to reinitialize.