Commit graph

5 commits

Author SHA1 Message Date
goose
d63f160af3 fix(docker): Update to Rust 1.93 to support Edition 2024 2026-02-15 14:05:15 -03:00
goose
860c2dc439 Fix: Use Rust latest (1.85+) for edition2024 support
Our dependencies (time-core, getrandom, uuid, etc.) now require
Rust 1.85+ for edition2024 support.

Changes:
- Dockerfile.dev: Updated to rust:latest
- Dockerfile.prod: Updated to rust:latest for builder stage

This resolves the edition2024 compilation errors.
2026-02-15 12:24:51 -03:00
goose
39f9ff38d0 Fix: Update Rust to 1.83 and fix Dockerfile CMD syntax
Changes:
- Updated Rust from 1.75 to 1.83 in both Dockerfiles
- Fixed CMD syntax: changed single quotes to double quotes (JSON format)
  Before: CMD ['cargo-watch', '-x', 'run']
  After:  CMD [cargo-watch, -x, run]

This fixes the cargo-watch compilation error that required edition2024.
Rust 1.83 supports all current crate features and editions.
2026-02-15 11:32:27 -03:00
goose
ea684c4a4b Config: Change server port to 6800 and remove Cargo.lock dependency
Changes:
- Changed server port from 8000 to 6800 (in range 6500-6999 as requested)
- Updated all Docker Compose files (dev and prod)
- Updated all Dockerfiles (removed Cargo.lock dependency)
- Created backend/.dockerignore with Cargo.lock
- Added Cargo.lock to .gitignore (generated by cargo)
- Removed obsolete 'version' attribute from docker-compose files
- Updated all documentation to reflect new port:
  * README.md
  * thoughts/CONFIG.md
  * thoughts/QUICKSTART.md
  * thoughts/verification-report-phase-2.3.md

This fixes Docker build errors where Cargo.lock was not found during COPY operations.
Docker will now generate Cargo.lock during the build process as expected.
2026-02-15 09:48:11 -03:00
goose
1e38fe3ace Phase 2.1: Backend project initialized with Docker configuration
- Created Cargo.toml with all required dependencies
- Implemented health/ready endpoints
- Added Docker configuration (production + development)
- Configured docker-compose with resource limits
- Set up MongoDB service with persistence
- Verified build (cargo check passed)
- Prepared monorepo structure for mobile/web/shared

Next: Phase 2.2 (MongoDB connection and models)
2026-02-14 15:30:06 -03:00