Compare commits

...

2 Commits

3 changed files with 7 additions and 9 deletions

4
.gitignore vendored
View File

@ -1,2 +1,4 @@
.env *.env
env.*
sql-data/ sql-data/

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: