Update donetick/README.md

This commit is contained in:
HHF Technology 2024-12-04 21:53:57 +05:30
parent 32b10c0f29
commit 6f85a60a61

View file

@ -8,21 +8,21 @@ mkdir -p /mnt/user/appdata/Donetick/config
2. Create the selfhosted.yaml file: 2. Create the selfhosted.yaml file:
```bash ```bash
nano /mnt/user/appdata/Donetick/config/default.yaml nano /mnt/user/appdata/Donetick/config/local.yaml
``` ```
Copy the YAML content from above into this file. Copy the YAML content from above into this file.
3. Set proper permissions: 3. Set proper permissions:
```bash ```bash
chmod -R 755 /mnt/user/appdata/Donetick chmod -R 755 /mnt/user/appdata/Donetick
chmod 644 /mnt/user/appdata/Donetick/config/default.yaml chmod 644 /mnt/user/appdata/Donetick/config/local.yaml
chown -R nobody:users /mnt/user/appdata/Donetick chown -R nobody:users /mnt/user/appdata/Donetick
``` ```
Key points: Key points:
1. Updated all paths to match the container's internal structure 1. Updated all paths to match the container's internal structure
2. Fixed the database path to use `/usr/src/app/data` 2. Fixed the database path to use `/usr/src/app/data`
3. Corrected the WebUI port to 8000 3. Corrected the WebUI port to 2021
4. Updated volume mappings to match the application's requirements 4. Updated volume mappings to match the application's requirements
Remember to: Remember to: