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.
This commit is contained in:
Ümit Tunç
2025-01-21 09:28:15 +03:00
parent 677da3892d
commit 3e10131f81
5 changed files with 20 additions and 46 deletions
+1 -5
View File
@@ -2,17 +2,13 @@ services:
app:
build:
context: .
dockerfile: Dockerfile
dockerfile: dockerfile
image: truncgil-finance-app
container_name: truncgil-finance-app
volumes:
- .:/var/www
networks:
- laravel-network
environment:
- TZ=Europe/Istanbul
- APP_ENV=production
- APP_DEBUG=false
web:
image: nginx:alpine