Files
whattodo/docker-entrypoint.sh
goyban c5b049edba Initial WhatToDo app
Self-hosted personal task list: FastAPI + SQLite in Docker, mobile-friendly
PWA frontend, deadlines, priorities, categories, tags, notes, checklists,
recurring tasks, single-password login, and JSON export/import.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 11:43:56 +02:00

7 lines
226 B
Bash

#!/bin/sh
# Make sure the mounted data directory is writable, then drop root privileges.
set -e
mkdir -p "$(dirname "$DB_PATH")"
chown -R app:app "$(dirname "$DB_PATH")"
exec setpriv --reuid=app --regid=app --init-groups "$@"