.. | ||
local.yaml | ||
donetick.xml | ||
README.md |
A detailed Guide setting up the Donetick components in unRAID.
-
Installation Setup
- Open your unRAID dashboard
- Go to the "Apps" tab
- Click "Add Container" button
- Copy and paste the template we provided into the template field
-
Path Configuration You'll need to verify/create these directories:
/mnt/user/appdata/Donetick/ # Main application directory
/mnt/user/appdata/Donetick/config # Configuration files
/mnt/user/appdata/Donetick/database # SQLite database storage
- Port Configuration
- Port 2021: Web interface access
- Can be changed if this port conflicts with other services
- Default mapping: 2021 -> 2021 (internal)
- Used for both API and frontend when serve_frontend is true
- Environment Variables
DT_ENV=local
- Determines which config file to use
- Options:
local
orselfhosted
- Configuration Setup
Place the appropriate YAML file in
/mnt/user/appdata/Donetick/config/
:
# local.yaml or selfhosted.yaml structure
name: "local" # or "selfhosted"
is_done_tick_dot_com: false
telegram:
token: ""
database:
type: "sqlite"
migration: true
jwt:
secret: "your-secure-secret-here"
session_time: 168h
max_refresh: 168h
server:
port: 2021
read_timeout: 2s
write_timeout: 1s
rate_period: 60s
rate_limit: 300
cors_allow_origins:
- "http://localhost:5173"
- "http://localhost:7926"
serve_frontend: true # false for local.yaml
- Directory Structure
/mnt/user/appdata/Donetick/
├── config/
│ ├── local.yaml # Local configuration
│ └── selfhosted.yaml # Selfhosted configuration
└── database/
└── donetick.db # SQLite database file
- Permissions
# Set correct permissions
chmod -R 755 /mnt/user/appdata/Donetick
chmod 644 /mnt/user/appdata/Donetick/config/*.yaml
chown -R nobody:users /mnt/user/appdata/Donetick
- Backup Considerations Important directories to backup:
/mnt/user/appdata/Donetick/config
/mnt/user/appdata/Donetick/database
- Security Recommendations
- Change default JWT secret in config file
- Use a strong, randomly generated string
- Consider configuring email notifications
- Update CORS settings if exposing to internet
- Configure rate limiting appropriately
- Troubleshooting Tips
- Check container logs in unRAID dashboard
- Verify config file exists and is named correctly
- Common issues:
# Check if config file exists ls -l /mnt/user/appdata/Donetick/config/ # Verify port availability netstat -tuln | grep 2021 # Check config file permissions ls -l /mnt/user/appdata/Donetick/config/*.yaml # View container logs docker logs donetick
- Additional Features Setup
-
Email Notifications:
email: host: "smtp.example.com" port: "587" key: "your-smtp-password" email: "your@email.com" appHost: "your-app-url"
-
Telegram Integration:
telegram: token: "your-bot-token"
- Post-Installation Steps
- Access the web interface at:
http://[your-unraid-ip]:2021
- Set up your initial user account
- Configure any additional notification settings
- Test task creation and management
This should give you a comprehensive understanding of the Donetick setup process in unRAID.