There are several ways to install and run Tileserver RS.
The easiest way to get started is using Docker:
docker pull ghcr.io/vinayakkulkarni/tileserver-rs:latest
docker run -p 8080:8080 \
-v /path/to/your/tiles:/data:ro \
-v /path/to/config.toml:/app/config.toml:ro \
ghcr.io/vinayakkulkarni/tileserver-rs:latest
Create a compose.yml file:
services:
tileserver:
image: ghcr.io/vinayakkulkarni/tileserver-rs:latest
ports:
- "8080:8080"
volumes:
- ./data:/data:ro
- ./config.toml:/app/config.toml:ro
environment:
- RUST_LOG=info
Then run:
docker compose up -d
git clone https://github.com/vinayakkulkarni/tileserver-rs.git
cd tileserver-rs
cargo build --release
bun install
bun run build:client
./target/release/tileserver-rs --config config.toml