Fix Docker Compose configuration issues#6
Open
raphael-solace wants to merge 1 commit into
Open
Conversation
This commit addresses multiple issues in the Docker Compose configuration: 1. Fix YAML parsing error in compose.database.yml - Removed duplicate PLATFORM_DATABASE_URL environment variable - Database URLs are already defined in base compose.yml and .env file - Removed duplicate database initialization in init.sql 2. Fix broker-init idempotency in compose.broker.yml - Added check to verify if 'client' user exists before creation - Prevents exit 22 error when user already exists - Makes broker-init container idempotent and safe to restart 3. Fix platform service module error in compose.yml - Removed platform.yaml from SAM container command - SAM 1.14.9 image does not include platform service module - Prevents ModuleNotFoundError on startup 4. Fix platform database configuration warning in compose.yml - Added platform_service.database_url to webui_backend.yml config - Enables platform features and removes warning message - Allows deployment status tracking and other platform features These changes ensure the SAM stack starts successfully without errors or warnings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit addresses multiple issues in the Docker Compose configuration:
Fix YAML parsing error in compose.database.yml
Fix broker-init idempotency in compose.broker.yml
Fix platform service module error in compose.yml
Fix platform database configuration warning in compose.yml
These changes ensure the SAM stack starts successfully without errors or warnings.