Compare commits

...

2 Commits

Author SHA1 Message Date
jdtron 9b7ddddca2 Update readme 2023-03-17 10:14:50 +01:00
jdtron 1dfcf1d9c3 Update default host 2023-03-17 10:12:27 +01:00
2 changed files with 21 additions and 1 deletions

View File

@ -13,7 +13,7 @@ RUN /bin/bash /app/setup.sh
EXPOSE 7099
ENV PORT=7099
ENV HOST=127.0.0.1
ENV HOST=0.0.0.0
ENV INSTANCE_NAME=BBJ
ENV ALLOW_ANON=true
ENV DEBUG=false

View File

@ -13,3 +13,23 @@ serve HTML but this is planned for the (distant?) future.
The two official client implementations are a stand alone TUI client for
the unix terminal, and GNU Emacs. The API is simple and others are welcome
to join the party at some point.
## Docker
**Database**
Initialize with
```bash
/bin/bash ./setup.sh --dbset
```
Mount to `/app/data.sqlite`
**Environment variables**
| Name | Default | Description |
|---------------|---------|---------------------------------------|
| PORT | 7099 | Port number to listen for connections |
| HOST | 0.0.0.0 | Host address to bind to |
| INSTANCE_NAME | BBJ | BBJ's instance name |
| ALLOW_ANON | true | Allow anonymous usage |
| DEBUG | false | Enable debugging |
| ADMIN | | Comma separated list of admin users |