Skip to content

Commit f740b49

Browse files
committed
docs: add docs for env variables [skip ci]
1 parent 46c3f65 commit f740b49

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ docker run -d -p 8080:80 --name taskwarrior-webui \
3939
dcsunset/taskwarrior-webui
4040
```
4141

42+
## Configurations
43+
44+
The following environment variables may be set:
45+
* `TASKRC` - the location of the `.taskrc` file, `/.taskrc` by default when run in _production_ mode
46+
* `TASKDATA` - the location of the `.task` directory, `/.task` by default when run in _production_ mode
47+
48+
Remember to mount your files to **the corresponding locations** when you set `TASKRC` or `TASKDATA` to a different value.
49+
4250
### Manually deploy
4351

4452
First build the frontend:
@@ -63,13 +71,6 @@ Then install nginx or other web servers
6371
to server frontend and proxy requests to backend
6472
(you can refer to `nginx/nginx.conf`).
6573

66-
### Configuration
67-
68-
The following environment variable may be set:
69-
* `TASKRC` - the location of the `.taskrc` file, `/.taskrc` by default when run in _production_ mode
70-
* `TASKDATA` - the location of the `.task` directory, `/.task` by default when run in _production_ mode
71-
72-
7374
## Development
7475

7576
First start the server at backend:

0 commit comments

Comments
 (0)