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: