Edge Server is currently in preview. It is not recommended for production use.
Prerequisites
Edge Server does not currently support Windows. But it can run in a Docker container using Windows Subsystem for Linux (WSL).
- Ditto SDK Connection Details from the Ditto Portal
- Docker on a host that supports
linux/arm64
orlinux/amd64
platforms using a containerd image store. - A Linux Arm64 or Linux x86 host if installing native binaries.
Installation Methods
You can run the Ditto Edge Server as either a Docker container or a pre-built binary. Choose the method that best fits your environment.Option 1: Docker Container
Download and load the Docker image:Option 2: Binary
Download the Edge Server binaryConfiguration
To get a configuration file, follow the steps in Getting Started: Ditto Database.Troubleshooting
Refer to the SDK Troubleshooting Guide for more help.- Permission denied: Make the binary executable (
chmod +x edge-server
). - Port already in use: Change the
-p
flag in the Docker command to use a different port. - Configuration errors: Double-check your YAML file for typos or missing fields.
- Log files: See the Logging Configuration guide for details on controlling log verbosity and output.
Configuration Options
Edge Server offers several optional configuration settings:- Persistence Directory: Configure where Edge Server stores database files and logs
- Transport Configuration: Control how Edge Server communicates with other peers
- Logging: Adjust log levels and output for debugging