services: front-end: container_name: front-end build: ./front-end/Dockerfile ports: - 2500:80 back-end: container_name: back-end build: ./back-end/Dockerfile ports: - 2501:80 db: container_name: fleet-db image: mysql:9.0.1 environment: MYSQL_DATABASE: 'fleetmanagement' MYSQL_USER: {fleetmanagement-user} MYSQL_PASSWORD: {fleetmanagement-pass} MYSQL_ROOT_PASSWORD: {fleetmanagent-root} ports: - 3306:3306 volumes: - ./sql-data:/var/lib/mysql