Commit graph

11 commits

Author SHA1 Message Date
goose
cd5c1709c6 Fix Docker networking and add graceful MongoDB error handling
- Fix DNS resolution: Removed invalid dns_search configuration
- Add graceful MongoDB connection error handling
- Set restart policy to 'unless-stopped' for both services
- Add development helper scripts (start-dev.sh, stop-dev.sh)
- Update Docker Compose configurations for development
- Restore main.rs from git history
- Backend now logs MongoDB errors without crashing

All containers now start successfully with proper DNS resolution
on the dedicated normogen-network.
2026-02-23 07:58:57 -03:00
goose
17205a4907 debug: Disable restart policy and add log volume to capture crash info
Some checks failed
Lint and Build / Lint (push) Failing after 5s
Lint and Build / Build (push) Has been skipped
Lint and Build / Docker Build (push) Has been skipped
2026-02-21 14:41:07 -03:00
goose
b3d5304bf6 fix: Disable output buffering in Docker to show startup logs
Some checks failed
Lint and Build / Lint (push) Failing after 5s
Lint and Build / Build (push) Has been skipped
Lint and Build / Docker Build (push) Has been skipped
2026-02-20 16:57:13 -03:00
goose
fce388bdf7 refactor: Move docker-compose.dev.yml to backend/ directory for better organization
Some checks failed
Lint and Build / Lint (push) Failing after 5s
Lint and Build / Build (push) Has been skipped
Lint and Build / Docker Build (push) Has been skipped
2026-02-20 13:36:03 -03:00
goose
51b7d75dca chore: Clean up temporary docs and start Phase 2.4
- Remove 28+ temporary debugging documentation files
- Remove temporary test scripts and log files
- Keep only essential files (quick-test.sh, EDITION2024-FIX.md)
- Create PHASE-2.4-SPEC.md with complete feature specifications
- Update STATUS.md with current progress and recent issues
- Ready to begin Phase 2.4 implementation
2026-02-15 16:33:36 -03:00
goose
f0b5109f61 fix(docker): Document MongoDB disk space issue and solutions 2026-02-15 14:33:58 -03:00
goose
b068579671 fix(docker): Simplify MongoDB healthcheck and add troubleshooting 2026-02-15 14:25:45 -03:00
goose
b218594b53 fix(docker): Fix MongoDB healthcheck configuration 2026-02-15 14:16:08 -03:00
goose
931c52daf6 Fix: Add pull_policy to docker-compose.dev.yml to force rebuild
Added pull_policy: build to prevent Docker from using cached images
with old Rust version. This ensures the build uses Rust 1.83 as specified
in Dockerfile.dev.
2026-02-15 11:51:22 -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