2023-12-21 17:51:49 +01:00
|
|
|
# txtdiary
|
|
|
|
|
2023-12-21 18:51:11 +01:00
|
|
|
[![status-badge](https://ci.mylloon.fr/api/badges/71/status.svg)](https://ci.mylloon.fr/repos/71)
|
|
|
|
|
2023-12-22 02:11:53 +01:00
|
|
|
personal diary with txt style, can be private!
|
2023-12-21 21:25:28 +01:00
|
|
|
|
2023-12-22 02:11:53 +01:00
|
|
|
## environment variables
|
2023-12-21 21:25:28 +01:00
|
|
|
|
2024-03-08 18:39:28 +01:00
|
|
|
| name | description | required |
|
|
|
|
| :----------------: | :---------------------------------: | :-------------: |
|
|
|
|
| `TD_USERNAME` | user name | no |
|
|
|
|
| `TD_USERPASS` | user password | yes |
|
|
|
|
| `TD_PRIVATE` | post visibility | empty = `false` |
|
|
|
|
| `TD_LOGINLIFETIME` | login lifetime (days) | empty = `7` |
|
|
|
|
| `TD_BASEROUTE` | base route, must start with a slash | no |
|
2023-12-22 02:11:53 +01:00
|
|
|
|
|
|
|
## volumes (docker)
|
|
|
|
|
|
|
|
| path | description |
|
|
|
|
| :--------------: | :--------------------: |
|
|
|
|
| `/txtdiary/data` | where posts are stored |
|