From 3c759c85a1c9393fd703f5d1bed7667c8111b63c Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Sat, 6 Apr 2024 12:51:08 -0400 Subject: Add CHELA_LISTEN_ADDRESS --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index df648e6..fd28202 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,10 @@ volumes: Used to define the database connection for Chela to use. ##### `CHELA_HOST` -The hostname that Chela should refer to itself as. Defaults to `localhost` +The hostname that Chela should refer to itself as. Defaults to `localhost`. + +##### `CHELA_LISTEN_ADDRESS` +The address that Chela should listen on. Defaults to `0.0.0.0`. ### Manually #### Build @@ -61,6 +64,7 @@ $ cargo build -r ```bash $ export DATABASE_URL=postgres://chela:password@dbhost/postgres?sslmode=disable $ export CHELA_HOST=example.com +$ export CHELA_LISTEN_ADDRESS=127.0.0.1 $ ./target/release/chela ``` -- cgit v1.2.3