Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ccbe589

Browse files
Update README.md
1 parent 7b58410 commit ccbe589

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

‎README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
11
# reactive-programming-demo
22
i want to create sample project with spring webflux and dockerize it
3+
--------------------------------------------------------------------------
4+
![download](https://user-images.githubusercontent.com/76038143/185766191-aa377d30-fe94-4a56-b8cc-1e5afeb41477.jpg)
5+
----------------------------------------------------------------------------------------------------------------
6+
# you can clone project and run with docker
7+
**1**. you need to build image of project with command of **docker build -t user-mysql .** (and able to alternative docker image instead of user-mysql)
8+
9+
----------------------------------------------------------------------------------------------------------------
10+
**2**. you need to pull mysql image from docker hub with command of **docker pull mysql:latest**
11+
(note: if you already have it dont need to execute this command and get it from local )
12+
13+
----------------------------------------------------------------------------------------------------------------
14+
**3**. after you need to run container of mysql with your own specification such as username and password and database name with command of
15+
**docker run --name mysql-standalone -e MYSQL_ROOT_PASSWORD=MohammadN@sr13804804 -e MYSQL_DATABASE=reactive-demo -e MYSQL_PASSWORD=MohammadN@sr13804804 -d mysql**
16+
17+
----------------------------------------------------------------------------------------------------------------
18+
**4**. and at the last stage you need to run this container and link project image with mysql for compatibility together and map on every port which you want on your local machine

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /