Commit Graph

8 Commits

Author SHA1 Message Date
Ümit Tunç beaac25180 Update Docker configuration for service port and cleanup
- Changed the web service port mapping from 8081 to 8088 for better alignment with application requirements.
- Removed unnecessary NTP installation and commands from the Dockerfile to streamline the build process.

These changes enhance the Docker setup for the Truncgil Finance application by improving service accessibility and optimizing the build configuration.
2025-09-15 11:06:16 -03:00
Ümit Tunç f860ce5e5c - Enhanced Dockerfile for Laravel application by updating file permissions and improving cron job configuration.
- Added NTP service initialization to ensure accurate time synchronization within the container.
- Modified cron job command to run all fetch tasks, improving scheduled task management.
- Included additional echo statements for better logging during the setup process.
These changes improve the Docker environment's reliability and enhance the functionality of scheduled tasks in the Laravel application.
2025-01-21 11:06:55 +03:00
Ümit Tunç 725fb50e03 Update Docker configuration and comment out Laravel migration commands
- Updated the Docker Compose file to specify the latest image tag for the application.
- Commented out the Laravel migration commands in the Dockerfile to prevent automatic migrations during container build, enhancing control over the deployment process.
- These changes improve the Docker setup and provide better management of the Laravel application lifecycle.
2025-01-21 09:35:27 +03:00
Ümit Tunç 3e10131f81 Refactor Docker setup and update API documentation
- Renamed Dockerfile to lowercase for consistency and clarity.
- Introduced a new Dockerfile for the Laravel application, utilizing PHP 8.2 and installing necessary dependencies, including NTP for time synchronization.
- Removed the docker-entrypoint.sh script, which previously generated API documentation, streamlining the container startup process.
- Updated API documentation with new response formats and example values for `currencyName` and `goldName`, enhancing clarity and usability.
- Adjusted endpoint responses to reflect the latest currency and gold rates, ensuring accurate data delivery.

These changes improve the Docker environment and enhance the API's documentation and response accuracy, contributing to a more robust application setup.
2025-01-21 09:28:15 +03:00
Ümit Tunç 7d108ca032 Add Dockerfile for Laravel application setup
- Introduced a new Dockerfile utilizing PHP 8.2 for the Laravel application.
- Configured timezone settings and installed necessary dependencies including Git, cURL, and PHP extensions.
- Set up cron jobs for Laravel task scheduling and included Composer for dependency management.
- Implemented file permission settings to enhance security and functionality across application directories.
- Added commands for Laravel application initialization, including migration, key generation, and caching operations.
- Included a custom entrypoint script to streamline container startup processes.

These changes establish a robust Docker environment for the Laravel application, improving deployment and operational efficiency.
2025-01-20 22:16:17 +03:00
Ümit Tunç 5c96b6b72e Update Docker configuration and Dockerfile for Laravel application
- Changed the Docker image for the app service to 'truncgil-finance-app' and updated the container name accordingly.
- Modified the web service to use 'truncgil-finance-web' and changed the port mapping to 8081.
- Upgraded the database image to MySQL 8.0 and updated the container name to 'truncgil-finance-db', adding a restart policy.
- Added environment variables for timezone and application settings in the app service.
- Updated the Dockerfile to use PHP 8.2, added necessary dependencies, and configured cron jobs for Laravel tasks.
- Enhanced file permission settings for the application directory to improve security and functionality.

These changes improve the overall configuration and performance of the Laravel application within the Docker environment.
2025-01-20 22:10:47 +03:00
Ümit Tunç f23743adab Enhance Dockerfile with file permission settings
- Added commands to set ownership and permissions for the /var/www directory and its subdirectories, ensuring proper access for the web server.
- This change improves security and functionality by configuring the environment for the Laravel application.
2025-01-20 16:25:22 +03:00
Ümit Tunç 944758a215 Add Docker configuration and Dockerfile for Laravel application 2025-01-18 18:58:24 +03:00