Skip to content

[~]: Refactor docker-compose.yml to use environment variables for configuration and replace s3mock with minio service#13

Merged
MyEcoria merged 1 commit intomainfrom
features/use-env-in-dockercompose
Jun 22, 2025
Merged

[~]: Refactor docker-compose.yml to use environment variables for configuration and replace s3mock with minio service#13
MyEcoria merged 1 commit intomainfrom
features/use-env-in-dockercompose

Conversation

@MyEcoria
Copy link
Owner

This pull request updates the docker-compose.yml file to improve configurability and replace the s3mock service with minio. The changes primarily focus on making environment variables dynamic and enhancing compatibility with production-ready services.

Configurability Enhancements:

  • Replaced hardcoded environment variable values with dynamic values using ${VARIABLE_NAME} syntax to allow customization via .env files or environment variables. This change applies to services like app, worker, db, and minio.

Service Replacement:

  • Replaced the s3mock service with minio, updating the ACCESS_URL and related configurations to reflect the new service. This change enhances compatibility with production-grade object storage.

Database Improvements:

  • Added support for MYSQL_USER and MYSQL_PASSWORD in the db service and configured additional database options (--default-authentication-plugin=mysql_native_password, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci) for better compatibility and performance.

Volume Management:

  • Introduced a new volume minio_data for the minio service to persist object storage data.

…figuration and replace s3mock with minio service
@MyEcoria MyEcoria merged commit cbf424f into main Jun 22, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments