Files
finance/docker-compose.yml
T
Ü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

48 lines
931 B
YAML
Executable File

version: '3'
services:
app:
build:
context: .
dockerfile: dockerfile
image: truncgil-finance-app:latest
container_name: truncgil-finance-app
restart: always
volumes:
- .:/var/www
networks:
- app-network
web:
image: nginx:alpine
container_name: truncgil-finance-web
restart: always
ports:
- "8088:80"
volumes:
- .:/var/www
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
networks:
- app-network
db:
image: mysql:8.0
container_name: truncgil-finance-db
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: truncgil_finance
MYSQL_USER: truncgil_finance
MYSQL_PASSWORD: "QWEFaca123++"
volumes:
- db_data:/var/lib/mysql
networks:
- app-network
ports:
- "3307:3306"
networks:
app-network:
driver: bridge
volumes:
db_data: