Update README.md. Current state of compose file

master
Christopher Lindelof 2024-08-20 02:58:20 -04:00
parent 329b42bca4
commit 24e3493995
2 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,5 @@
# Fleet Management Application # 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
Front End is written using: Front End is written using:

View File

@ -1,22 +1,18 @@
services: services:
front-end: front-end:
container_name: front-end container_name: fleet-frontend
build: ./front-end/Dockerfile build: ./front-end/Dockerfile
ports: ports:
- 2500:80 - 2500:80
back-end: back-end:
container_name: back-end container_name: fleet-backend
build: ./back-end/Dockerfile build: ./back-end/Dockerfile
ports: ports:
- 2501:80 - 2501:80
db: db:
container_name: fleet-db container_name: fleet-db
image: mysql:9.0.1 image: mysql:9.0.1
environment: env_file: ./mysql.env
MYSQL_DATABASE: 'fleetmanagement'
MYSQL_USER: {fleetmanagement-user}
MYSQL_PASSWORD: {fleetmanagement-pass}
MYSQL_ROOT_PASSWORD: {fleetmanagent-root}
ports: ports:
- 3306:3306 - 3306:3306
volumes: volumes: