Running the Server¶
The quickest way to get a rEEEductio server running locally is with Docker Compose. You'll need Docker Desktop (or Docker Engine + Compose plugin) installed.
1. Create a working directory¶
2. Create a config file¶
Create config/config.yaml with the following content:
environment: development
debug: true
server:
host: 0.0.0.0
port: 8000
database:
type: sqlite
blob_store:
type: filesystem
path: /data/blobs
logging:
level: INFO
format: text
# Skip admin space setup — any client can create spaces directly.
# Use this for local development only.
admin:
auto_create_spaces: true
Development only
auto_create_spaces: true lets anyone create a space on your server without
authentication. This is fine for local development but should never be used in
production. See Self-Hosting for a production configuration.
3. Create a Compose file¶
Create docker-compose.yml:
services:
reeeductio:
image: ghcr.io/cvwright/reeeductio:latest
ports:
- "8000:8000"
volumes:
- ./data:/data
- ./config:/config
environment:
- CONFIG_FILE=/config/config.yaml
restart: unless-stopped
4. Start the server¶
Docker will pull the image on first run. Once it's up, verify the server is healthy:
You should see a 200 OK response.
5. Browse the API¶
The server serves interactive API documentation at:
Open that in your browser to explore the available endpoints.
Stopping the server¶
Your data is persisted in the ./data directory, so it will still be there when you start again.
Next steps¶
Pick a quick start to start building with the server you just set up: