No description
  • HTML 43.1%
  • C# 39.8%
  • CSS 13%
  • TypeScript 2.3%
  • JavaScript 1.4%
  • Other 0.4%
Find a file
MaddoScientisto b39d607d85
Some checks failed
Publish Container / publish (push) Failing after 2m57s
chore: Upgrade DOTNET_VERSION from 9.0.x to 10.0.x in publish-container.yml
2026-03-17 22:46:32 +01:00
.forgejo/workflows chore: Upgrade DOTNET_VERSION from 9.0.x to 10.0.x in publish-container.yml 2026-03-17 22:46:32 +01:00
Components feat: Add Grid View and Monthly Summary pages with workday management 2026-03-17 22:10:19 +01:00
Configuration Refactor authentication system to use username instead of email; implement change password functionality and logging; add NLog for logging support 2026-03-17 20:08:02 +01:00
Domain feat: Add Grid View and Monthly Summary pages with workday management 2026-03-17 22:10:19 +01:00
Properties Refactor authentication system to use MongoDB 2026-03-16 21:54:44 +01:00
Services feat: Add Grid View and Monthly Summary pages with workday management 2026-03-17 22:10:19 +01:00
wwwroot feat: Add Grid View and Monthly Summary pages with workday management 2026-03-17 22:10:19 +01:00
.dockerignore Implement Docker support with Dockerfile, docker-compose, and nginx configuration; add HTTPS redirection option and update appsettings 2026-03-16 19:41:14 +01:00
.gitignore Migrate from MongoDB to Couchbase Lite for local storage; update related services and configurations 2026-03-17 13:53:33 +01:00
appsettings.Development.json Migrate from MongoDB to Couchbase Lite for local storage; update related services and configurations 2026-03-17 13:53:33 +01:00
appsettings.json Refactor authentication system to use username instead of email; implement change password functionality and logging; add NLog for logging support 2026-03-17 20:08:02 +01:00
docker-compose.override.yml Migrate from MongoDB to Couchbase Lite for local storage; update related services and configurations 2026-03-17 13:53:33 +01:00
docker-compose.yml Migrate from MongoDB to Couchbase Lite for local storage; update related services and configurations 2026-03-17 13:53:33 +01:00
Dockerfile Upgrade .NET SDK version to 10.0 in Dockerfile and project file; enable static files in Program.cs 2026-03-17 19:17:55 +01:00
nginx.conf Implement Docker support with Dockerfile, docker-compose, and nginx configuration; add HTTPS redirection option and update appsettings 2026-03-16 19:41:14 +01:00
nlog.config Refactor authentication system to use username instead of email; implement change password functionality and logging; add NLog for logging support 2026-03-17 20:08:02 +01:00
plan.md feat: Add Grid View and Monthly Summary pages with workday management 2026-03-17 22:10:19 +01:00
Program.cs feat: Add Grid View and Monthly Summary pages with workday management 2026-03-17 22:10:19 +01:00
README.Docker.md Migrate from MongoDB to Couchbase Lite for local storage; update related services and configurations 2026-03-17 13:53:33 +01:00
WorkTracker.csproj Refactor authentication system to use username instead of email; implement change password functionality and logging; add NLog for logging support 2026-03-17 20:08:02 +01:00
WorkTracker.sln Scaffolded project 2026-02-18 17:11:13 +01:00

Running and debugging with Docker or local Couchbase Lite storage

Quick run (Docker Engine required):

  1. Build and start services:

    docker compose up --build

  2. App will be available on host port 8002 -> container 8080 (http://localhost:8002).

Docker persistence:

  • The app now uses an embedded Couchbase Lite database stored under /data/couchbase inside the container.
  • The compose file mounts that path from ${WORKTRACKER_DATA_PATH:-./.docker-data/couchbase} on the host.
  • Set WORKTRACKER_DATA_PATH before docker compose up if you want to move the database elsewhere.

Development in VS Code without Docker:

  • Use the WorkTracker: Debug Local launch configuration.
  • VS Code builds the project, starts the app directly with ASPNETCORE_ENVIRONMENT=Development, and opens the local URL when the server is ready.
  • Local development data is stored in App_Data/couchbase-dev by default.

Development in Docker:

  • The override file keeps a containerized dotnet watch flow for cases where you still want Docker.
  • The development container mounts the workspace into /workspace and stores its Couchbase Lite files under ./.docker-data/couchbase-dev on the host.

Manual development start:

  • docker compose up --build

Manual shutdown:

  • docker compose down

Notes:

  • The base compose file remains production-oriented; the override file is the optional containerized development layer.
  • The first container build takes longer because the dev image installs the .NET debugger.
  • The Dockerfile uses the .NET 9 *-noble images so local builds and container builds stay aligned with the SDK available in VS Code.