|
|
@@ -20,10 +20,31 @@ and reporting through open-source, on-premise tools.
|
|
|
Create a `.env` file in the project root with the following placeholders (to be replaced with actual values):
|
|
|
|
|
|
'''bash
|
|
|
-DB_USER=myuser
|
|
|
-DB_PASSWORD=randomGeneratedPassword
|
|
|
+# Paperless-ngx Configuration
|
|
|
+PAPERLESS_DB_USER=myuser
|
|
|
+PAPERLESS_DB_PASSWORD=randomGeneratedPassword
|
|
|
+PAPERLESS_SECRET_KEY=randomGeneratedSecret
|
|
|
+
|
|
|
+# Nextcloud Configuration
|
|
|
NEXTCLOUD_ADMIN_USER=admin
|
|
|
-NEXTCLOUD_ADMIN_PASSWORD=randomAdminPassword
|
|
|
+NEXTCLOUD_ADMIN_PASSWORD=randomGeneratedPassword
|
|
|
+
|
|
|
+# Database Configuration for Nextcloud
|
|
|
+MYSQL_ROOT_PASSWORD=randomGeneratedPassword
|
|
|
+MYSQL_DATABASE=nextcloud
|
|
|
+MYSQL_USER=nextcloud
|
|
|
+MYSQL_PASSWORD=randomGeneratedPassword
|
|
|
+
|
|
|
+# Kimai Database Configuration
|
|
|
+KIMAI_DATABASE=kimai
|
|
|
+KIMAI_USER=kimai_user
|
|
|
+KIMAI_PASSWORD=randomGeneratedPassword
|
|
|
+KIMAI_ROOT_PASSWORD=randomGeneratedPassword
|
|
|
+
|
|
|
+# Kimai Admin User Configuration
|
|
|
+KIMAI_ADMIN_USER=kiami_admin_user
|
|
|
+KIMAI_ADMIN_PASSWORD=randomGeneratedPassword
|
|
|
+KIMAI_ADMIN_EMAIL=kiami@admin.email
|
|
|
'''
|
|
|
|
|
|
## Installation
|
|
|
@@ -85,6 +106,27 @@ After starting the Paperless-ngx service for the first time, you need to create
|
|
|
|
|
|
This setup step is necessary only for the first-time setup or if you need to create additional admin users.
|
|
|
|
|
|
+## Setting Up Kimai (Time Tracking)
|
|
|
+
|
|
|
+After configuring the environment variables, you can start Kimai for time tracking and management.
|
|
|
+
|
|
|
+1. **Start Kimai**:
|
|
|
+ - Run the following command to start the Kimai service along with its database:
|
|
|
+
|
|
|
+ $$$
|
|
|
+ docker-compose up -d
|
|
|
+ $$$
|
|
|
+
|
|
|
+2. **Access Kimai**:
|
|
|
+ - Open your web browser and go to `http://localhost:8081`.
|
|
|
+ - Log in with the `KIMAI_ADMIN_USER` and `KIMAI_ADMIN_PASSWORD` values you set in `.env`.
|
|
|
+
|
|
|
+3. **Using Kimai**:
|
|
|
+ - After logging in, you can set up projects, track time, and generate reports for your tasks. Kimai provides a comprehensive interface for managing billable time and clients.
|
|
|
+
|
|
|
+This setup provides you with a time tracking tool that can work alongside Paperless-ngx and Nextcloud in the AutoMate system.
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|