Compare commits
2 Commits
dae058b53d
...
9b7ddddca2
Author | SHA1 | Date |
---|---|---|
jdtron | 9b7ddddca2 | |
jdtron | 1dfcf1d9c3 |
|
@ -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
|
||||
|
|
20
README.md
20
README.md
|
@ -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 |
|
||||
|
|
Loading…
Reference in New Issue