Skip to content

Docker: small fix of docker - #311

Merged
Mammutor merged 5 commits into
mainfrom
dev
Jul 27, 2026
Merged

Docker: small fix of docker#311
Mammutor merged 5 commits into
mainfrom
dev

Conversation

@Mammutor

@Mammutor Mammutor commented Feb 4, 2026

Copy link
Copy Markdown
Collaborator

I tried to fix it with the docker network, can you try it on your pc and maybe merge before mohr or knoth will downlaod the repo? And I was in the wrong branch, sorry again that I pushed it directly into dev

@Mammutor
Mammutor requested a review from RobinGummels February 4, 2026 22:46
@Mammutor Mammutor self-assigned this Feb 4, 2026
@Mammutor Mammutor added the fix label Feb 4, 2026
@RobinGummels

Copy link
Copy Markdown
Contributor

I tried a bit and got the following errors:

stac-crawler  | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━                                                                          
stac-crawler  | DATABASE CONNECTION FAILED
stac-crawler  | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━                                                                          
stac-crawler  |   Host:     undefined                                                                                                                 
stac-crawler  |   Port:     NaN                                                                                                                       
stac-crawler  |   Database: undefined                                                                                                                 
stac-crawler  |   User:     undefined                                                                                                                 
stac-crawler  | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━                                                                          
stac-crawler  |   Error:                                                                                                                              
stac-crawler  |   Code:     ECONNREFUSED
stac-crawler  | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━                                                                          
stac-crawler  |                                                                                                                                       
stac-crawler  | Database initialization failed:                                                                                                       
stac-crawler  | Error fetching https://www.stacindex.org/api/catalogs:
{
  "type": "https://stacspec.org/errors/InternalServerError",
  "title": "Internal Server Error",
  "status": 500,
  "detail": "Database query failed: password authentication failed for user \"stac_api\"",
  "instance": "/collections",
  "requestId": "77d502b0-767b-49fd-bb4b-7fe9c3bbdedd",
  "code": "InternalServerError",
  "description": "Database query failed: password authentication failed for user \"stac_api\"",
  "stack": "Error: Database query failed: password authentication failed for user \"stac_api\"\n    at query (/app/db/db_APIconnection.js:91:27)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async runQuery (/app/routes/collections.js:144:20)\n    at async /app/routes/collections.js:226:18"
}

Then Claude suggested something and now it works. I pushed it. Maybe you can test it out on your setup. Maybe also try it on Windows.

Mammutor added 2 commits July 27, 2026 14:51
Bring in Dev UI (#314) to verify docker one-shot startup still works.
- Enhanced .gitignore to exclude all .env files except example.env.
- Updated docker-compose.yml to utilize a single root .env for database credentials, simplifying configuration across services.
- Modified example.env to provide default values for database settings and passwords.
- Revised README.md to clarify environment setup instructions and emphasize the use of a shared .env file.
- Adjusted API and crawler configurations to reference the root .env for database connections, reducing redundancy.
- Added new translations for UI elements in German and English.
@Mammutor
Mammutor merged commit 6cefcd2 into main Jul 27, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants