From b0cf0f48fc75c2479d562aad962ba83582a5967e Mon Sep 17 00:00:00 2001 From: ShadowFox88 <66386770+ShadowFox88@users.noreply.github.com> Date: Sat, 28 Dec 2024 18:30:40 +0000 Subject: [PATCH 1/2] Update README.md added a section for a missing config step for .env --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f3c7f7b..2615528 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ Easily share code and text. - Clone - Copy `config.template.toml` into `config.toml` - The default config for database (and redis) should work Out of Box. +- Copy `.env.example` into `.env` + - The default config should work Out of Box + - The database container doesn't expose connections outside of the network, but for added security edit `.env` and change the password. - Optionally in `core/server.py` set `ignore_localhost=` to `False` in the RateLimit Middleware for testing. - Run `docker compose up -d` to start the services. - If you want to use redis for session/limit handling, run with the redis profile: `docker compose --profile redis up -d` From 13fa21535c53849d8dd840098a92e845fe3c2695 Mon Sep 17 00:00:00 2001 From: ShadowFox88 <66386770+ShadowFox88@users.noreply.github.com> Date: Sat, 28 Dec 2024 20:13:47 +0000 Subject: [PATCH 2/2] added more info about how to get the application running --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2615528..f8b8a3f 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ Easily share code and text. - Clone - Copy `config.template.toml` into `config.toml` - The default config for database (and redis) should work Out of Box. + - Ensure you change the `host` key to `0.0.0.0` from `localhost` - Copy `.env.example` into `.env` - The default config should work Out of Box - The database container doesn't expose connections outside of the network, but for added security edit `.env` and change the password.