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.
This commit is contained in:
parent
177f2ad8e7
commit
cd5c1709c6
7 changed files with 277 additions and 64 deletions
2
backend/src/main.rs.restore
Normal file
2
backend/src/main.rs.restore
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
fatal: path 'backend/src/main.rs' exists, but not 'src/main.rs'
|
||||
hint: Did you mean 'a316699:backend/src/main.rs' aka 'a316699:./src/main.rs'?
|
||||
Loading…
Add table
Add a link
Reference in a new issue