update readme: clarify no db just text file

This commit is contained in:
2026-05-09 23:10:26 +01:00
parent b1423a4e2c
commit 952111c672

View File

@@ -1,6 +1,7 @@
# urls-txt # urls-txt
a _really_ simple url shortener: less than 200 lines of Rust and one dependency (tokio). a _really_ simple url shortener: less than 200 lines of Rust and one dependency (tokio).
there is no database, just a text file.
## usage ## usage
@@ -29,6 +30,8 @@ a _really_ simple url shortener: less than 200 lines of Rust and one dependency
the default bind address is `127.0.0.0:3000`. the default bind address is `127.0.0.0:3000`.
this can be changed using the environment variable `URLS_TXT_BIND_ADDRESS`. this can be changed using the environment variable `URLS_TXT_BIND_ADDRESS`.
3. restart to apply changes.
## usage (docker) ## usage (docker)
a working [dockerfile](./Dockerfile) and [compose file](./compose.yaml) are provided. a working [dockerfile](./Dockerfile) and [compose file](./compose.yaml) are provided.