From 24e3493995a5ed56b2770a7269086a32d0e800d6 Mon Sep 17 00:00:00 2001 From: Chris Lindelof Date: Tue, 20 Aug 2024 02:58:20 -0400 Subject: [PATCH] Update README.md. Current state of compose file --- README.md | 2 +- Fleet-Management.yaml => compose.yaml | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) rename Fleet-Management.yaml => compose.yaml (53%) diff --git a/README.md b/README.md index 40d5704..b341a03 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Fleet Management Application -The Complete Application is developed to run inside of a docker container for development and deployment. +The Complete Application is developed to run inside of a docker container for deployment. ## Front-End Front End is written using: diff --git a/Fleet-Management.yaml b/compose.yaml similarity index 53% rename from Fleet-Management.yaml rename to compose.yaml index 14f2d3f..b7c44fd 100644 --- a/Fleet-Management.yaml +++ b/compose.yaml @@ -1,22 +1,18 @@ services: front-end: - container_name: front-end + container_name: fleet-frontend build: ./front-end/Dockerfile ports: - 2500:80 back-end: - container_name: back-end + container_name: fleet-backend 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} + env_file: ./mysql.env ports: - 3306:3306 volumes: