8000 Port Migration: API 8000→8001, Dashboard 3000→3100 by tamzrod · Pull Request #114 · tamzrod/Librarian · GitHub
[go: up one dir, main page]

Skip to content

Port Migration: API 8000→8001, Dashboard 3000→3100 - #114

Merged
tamzrod merged 1 commit into
mainfrom
port-migration-to-8001-3100
Jul 8, 2026
Merged

tamzrod merged 1 commit into
mainfrom
port-migration-to-8001-3100

Conversation

@tamzrod
@tamzrod tamzrod commented Jul 8, 2026
Copy link
Copy Markdown
Owner

Summary

Migrated Librarian from development default ports to production-standard ports:

  • API: 8000 → 8001
  • Dashboard: 3000 → 3100

Changes

Docker & Container Configuration

  • Dockerfile - EXPOSE, HEALTHCHECK, CMD updated to port 8001
  • dashboard/Dockerfile - EXPOSE, HEALTHCHECK updated to port 3100
  • dashboard/nginx.conf - listen port 3100, proxy_pass to api:8001
  • deploy/docker-compose.yml - All port mappings and healthchecks
  • deploy/nginx/nginx.conf - upstream server updated to 8001

NAS Platform Deployments

  • deploy/docker/nas/truenas/docker-compose.yml
  • deploy/docker/nas/synology/docker-compose.yml
  • deploy/docker/nas/unraid/docker-compose.yml

Application Configuration

  • environment.py - DEFAULT_API_URL → 8001
  • dashboard/vite.config.ts - dev server port 3000→3100
  • api/app.py - uvicorn port=8001

CI/CD & Testing

  • .github/workflows/ci.yml - Healthcheck updated
  • .github/workflows/validate-contract.yml - VITE_API_URL updated
  • test_api_questions.py - base_url updated

Bug Fix

  • Dashboard healthcheck: Changed from wget to curl to fix IPv6 localhost issue

Verification

  • API health: http://localhost:8001/health → 200 OK ✅
  • Dashboard health: http://localhost:3100/ → 200 OK ✅
  • Reverse proxy: http://localhost:3100/api/v1/status → 200 OK ✅

Files Modified

39 files changed across Docker configurations, application code, CI/CD workflows, and documentation.

@tamzrod can click here to continue refining the PR

- Migrated API from default port 8000 to production port 8001
- Migrated Dashboard from default port 3000 to production port 3100
- Updated all Dockerfiles, docker-compose files, and nginx configs
- Updated healthchecks from wget to curl (fixes IPv6 localhost issue)
- Updated all documentation, CI workflows, and tests
- Verified: API healthy on 8001, Dashboard healthy on 3100
@tamzrod
tamzrod marked this pull request as ready for review July 8, 2026 00:44
@tamzrod
tamzrod merged commit ba6c349 into main Jul 8, 2026
3 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0