Donetick

An open-source, user-friendly app for organizing tasks and chores effectively.

Access Donetick

  1. Откройте браузер и перейдите по адресу: https://<SERVER_IP>
  2. A browser SSL warning is expected (self-signed certificate).
  3. Create a new account on first visit.

Важные файлы и каталоги

  • Каталог установки: /opt/donetick
  • Docker Compose: /opt/donetick/docker-compose.yml
  • Конфигурационный файл: /opt/donetick/config/selfhosted.yaml
  • Каталог данных: /opt/donetick/data
  • SQLite DB: /opt/donetick/data/donetick.db
  • Конфигурация Nginx: /etc/nginx/sites-available/donetick
  • SSL-сертификаты: /etc/nginx/ssl/

Управление сервисом

cd /opt/donetick

# Start
docker compose up -d

# Stop
docker compose down

# Restart container only
docker restart donetick

# Logs
docker logs -f donetick

Disable User Registration (Optional)

Edit config (/opt/donetick/config/selfhosted.yaml):

is_user_creation_disabled: true

Then restart:

cd /opt/donetick && docker compose restart donetick

Включение SSL с доменом

1. Направьте ваш домен на IP-адрес сервера.

2. Обновить public_host in Donetick configuration (/opt/donetick/config/selfhosted.yaml):

public_host: "https://yourdomain.com"

3. Restart Donetick service:

cd /opt/donetick/
docker compose restart

4. Отредактируйте конфигурацию Nginx и замените оба server_name <IP>; с вашим доменом (<yourdomain.com>) для блоков HTTP (порт 80) и HTTPS (порт 443):

vim /etc/nginx/sites-available/donetick

5. Установите Certbot:

apt install -y certbot python3-certbot-nginx

6. Выполните следующую команду, чтобы сгенерировать действительный сертификат Let’s Encrypt:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

7. Замените пути SSL в конфигурации Nginx:

vim /etc/nginx/sites-available/donetick
# Before:
    # ssl_certificate /etc/nginx/ssl/donetick.crt;
    # ssl_certificate_key /etc/nginx/ssl/donetick.key;
# After:
    # ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
    # ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;

8. Перезапустите Nginx, чтобы применить изменения:

systemctl restart nginx

9. Откройте браузер и перейдите по адресу: https://yourdomain.com

Mobile App Requirement

  • If you plan to use the Android or iOS apps, your Donetick instance must be publicly accessible and served over HTTPS with a valid certificate. The mobile apps will not connect to a local-only or insecure HTTP address.
  • Set up a domain and configure SSL using Certbot and Let’s Encrypt as described above.

Детали заявки