You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-35Lines changed: 11 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,16 +78,6 @@ Execute below gradlew command to download all the dependencies specified in the
78
78
./gradlew clean build
79
79
```
80
80
81
-
As the codebase grows it becomes difficult to visualize the content in it.
82
-
83
-
Visualization gives enough of a “fingerprint” that viewers can glance at it and see the structure of the codebase.
84
-
85
-
Thanks to [repo-visualization](https://octo.github.com/projects/repo-visualization) for giving us enough of a “fingerprint” to glance and see the structure of the codebase as below:
86
-
87
-

88
-
89
-
<apropertyName = "MSStructure"></a>
90
-
91
81
### Microservice Structure
92
82
93
83
We are following Classic Microservice "Separation of Concerns" pattern having Controller <--> Service <--> Connector layers.
@@ -626,17 +616,17 @@ Before we continue further make sure you have docker installed, if not [click he
626
616
627
617
Docker uses a text file with set of instructions in it to build a docker image. Below given is a list of some of the most common Docker keywords used:
| FROM | Defines the base image to use to start the build process. A image defined here will be pulled from Docker Hub or other container repository. It needs to be the first command declared inside a Dockerfile. |
632
-
| WORKDIR | Set where the command defined with CMD is to be executed. |
633
-
| ENV | Sets an Environment variable within the container & can be accessed by scripts and applications alike. |
634
-
| CMD | Execute the given command when a container is instantiated using the image being built. |
635
-
| RUN | Execute any additional command when docker image is built. |
636
-
| EXPOSE | Used to associate a specified port to enable networking between the running process inside the container and the outside world (i.e. the host). |
637
-
| COPY | Takes in a src and destination arguments & copy a local file or directory from your host (the machine building the Docker image) into the Docker image itself. |
638
-
| ADD | Apart from what COPY does, it also supports 2 other sources. First, you can use a URL instead of a local file / directory. Secondly, you can extract a tar file from the source directly into the destination. |
639
-
| ENTRYPOINT | Sets the concrete default application that is used every time a container is created using the image. For example, here we are using Spring Boot application inside the image. To only run that application use ENTRYPOINT and whenever a container is created our application will be the target. If we couple ENTRYPOINT with CMD, we can remove “application” from CMD and just leave “arguments” which will be passed to the ENTRYPOINT.|
| FROM | Defines the base image to use to start the build process. A image defined here will be pulled from Docker Hub or other container repository. It needs to be the first command declared inside a Dockerfile.|
622
+
| WORKDIR | Set where the command defined with CMD is to be executed.|
623
+
| ENV | Sets an Environment variable within the container & can be accessed by scripts and applications alike.|
624
+
| CMD | Execute the given command when a container is instantiated using the image being built.|
625
+
| RUN | Execute any additional command when docker image is built.|
626
+
| EXPOSE | Used to associate a specified port to enable networking between the running process inside the container and the outside world (i.e. the host).|
627
+
| COPY | Takes in a src and destination arguments & copy a local file or directory from your host (the machine building the Docker image) into the Docker image itself.|
628
+
| ADD | Apart from what COPY does, it also supports 2 other sources. First, you can use a URL instead of a local file / directory. Secondly, you can extract a tar file from the source directly into the destination.|
629
+
| ENTRYPOINT | Sets the concrete default application that is used every time a container is created using the image. For example, here we are using Spring Boot application inside the image. To only run that application use ENTRYPOINT and whenever a container is created our application will be the target. If we couple ENTRYPOINT with CMD, we can remove “application” from CMD and just leave “arguments” which will be passed to the ENTRYPOINT. |
640
630
641
631
Now let us have a quick look at our [ci.Dockerfile](./ci.Dockerfile) given below:
642
632
@@ -1088,22 +1078,8 @@ We use [SemVer](http://semver.org/) for versioning. For the versions
1088
1078
available, see the
1089
1079
[tags on this repository](https://github.com/your/project/tags).
1090
1080
1091
-
### Author
1092
-
1093
-
- **Abhishek Singh Rajput** - _Initial work_ -
1094
-
[abhisheksr01](https://github.com/abhisheksr01)
1095
-
1096
-
### Contributors
1097
-
1098
-
As mentioned in the [Introduction](#introduction) through this project we would like to bring the Best Practices and Integration under one umbrella.
1099
-
1100
-
So you are most welcome to improve or add new features you could think of.
1101
-
1102
1081
### License
1103
1082
1104
1083
This project is licensed under the MIT License - see the
1105
1084
[LICENSE.md](LICENSE.md) file for details
1106
1085
1107
-
### Acknowledgments
1108
-
1109
-
- [Eugen Paraschiv](https://www.baeldung.com/) : For wonderful tutorials
0 commit comments