Skip to content

Commit dcde77f

Browse files
authored
change img paths due to inconsistent in docker hub
1 parent 1056cc4 commit dcde77f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.MD

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Dockerize java mysql example project
22

3-
![preview image](https://github.com/mixaverros88/docker_with_java_and_mysql/blob/master/icons/docker_overview.JPG)
3+
![preview image](https://raw.githubusercontent.com/mixaverros88/docker-with-java-and-mysql/master/icons/docker_overview.JPG)
44
This simple example combines 2 docker files or docker-compose file, one to spin up a mysql container and the other a java container.
55

66
These docker files are located in the corresponding folders (mysql, java). Also contains a docker-compose file in the root folder.
@@ -9,7 +9,7 @@ Also you can find a network folder, which contains an sh file to create a networ
99
***
1010
### Start the mysql container
1111

12-
![preview image](https://github.com/mixaverros88/docker_with_java_and_mysql/blob/master/icons/MySQL-512.png)
12+
![preview image](https://raw.githubusercontent.com/mixaverros88/docker-with-java-and-mysql/master/icons/MySQL-512.png)
1313
You can find the mysql dockerfile in the mysql folder. There you can run the build.sh file in order to build the docker image or you can run the following command.
1414
```
1515
docker build -t my-mysql .
@@ -65,7 +65,7 @@ The process is correct.
6565

6666
### Start the java container
6767

68-
![preview image](https://github.com/mixaverros88/docker_with_java_and_mysql/blob/master/icons/javaIco.png)
68+
![preview image](https://raw.githubusercontent.com/mixaverros88/docker-with-java-and-mysql/master/icons/javaIco.png)
6969
You can find the java dockerfile in the java folder. There you can run the build.sh file in order to build the docker image or you can run the following command.
7070
```
7171
docker build -t java-connect-with-mysql .
@@ -105,7 +105,7 @@ docker network connect isolated java-connect-with-mysql
105105
```
106106
***
107107
### Create secrets
108-
![preview image](https://github.com/mixaverros88/docker_with_java_and_mysql/blob/master/icons/dockerIcon.png)
108+
![preview image](https://raw.githubusercontent.com/mixaverros88/docker-with-java-and-mysql/master/icons/dockerIcon.png)
109109
```
110110
echo "my-db-pass" | docker secret create mysql_root_pass -
111111
```
@@ -123,4 +123,4 @@ Use the maven plug-in (tomcat7-maven-plugin) for tomcat server in order to autom
123123
You can run the below command in order to deploy the artifact in your local tomcat server
124124
```
125125
mvn clean tomcat7:deploy
126-
```
126+
```

0 commit comments

Comments
 (0)