Live demo: https://gu.mk
Docker compose is the recommended way to setup. Sample configuration:
services:
shorter:
image: lazymio/link-shorter-rs:latest
ports:
- "127.0.0.1:1566:1566"
volumes:
- ./data:/data
environment:
- RUST_LOG=link_shorter_rs=debug
command: serve -d /data/data.sqlite3To add a token, do:
docker compose exec -it shorter /usr/bin/link-shorter-rs add-token -t "token_to_add" -d /data/sqlite3