Installation
Prerequisites
- Docker and Docker Compose
- Git
Quick Install
1. Clone the repository
git clone https://github.com/lotherk/deardiary.git
cd deardiary
2. Copy the environment file
cp backend/.env.example backend/.env
3. Start with Docker
docker compose up -d
4. Access the app
Open http://localhost:5173 in your browser.
Default Credentials
admin@localhost |
|
| Password | changeme123 |
Important: Change these credentials immediately after first login!
Ports
| Service | Port | Description |
|---|---|---|
| Frontend | 5173 | Main application (nginx) |
| API | 3000 | Backend API (internal) |
| Website | 8080 | This website (if enabled) |
Data Storage
All data is stored in Docker volumes:
./data/db/- SQLite database./data/media/- Uploaded photos and voice memos