1
00:00:04,019 --> 00:00:10,230
We have just successfully together with you, solve the challenge where we have created three different

2
00:00:10,230 --> 00:00:17,820
containers in separate custom network and those containers were WordPress, MySQL and phpMyAdmin.

3
00:00:17,820 --> 00:00:25,050
And our goal was to achieve communication with MySQL server using name of the container, and that was

4
00:00:25,050 --> 00:00:26,160
successfully achieved.

5
00:00:26,160 --> 00:00:30,870
And here are commands that we have used for start of MySQL server.

6
00:00:30,870 --> 00:00:31,950
Here is this command.

7
00:00:31,950 --> 00:00:39,630
We have used some environment variables and we have used the custom MySQL tag and also we have used

8
00:00:39,630 --> 00:00:46,770
the custom version for WordPress and we have used here port mapping and also specified the custom network

9
00:00:46,770 --> 00:00:49,980
name and the custom name for this container.

10
00:00:49,980 --> 00:00:57,270
Also same, we have performed for phpMyAdmin, also for this container we have specified the custom

11
00:00:57,270 --> 00:01:01,740
environment variable that points to location of the MySQL server.

12
00:01:01,740 --> 00:01:09,340
And finally, we have tested all of that and I was able hope you were able to to create WordPress site

13
00:01:09,340 --> 00:01:14,500
and log in into administrative dashboard and to open a website like so.

14
00:01:14,500 --> 00:01:21,790
And in my case I see this Hello World web page and I see title that I have specified in initial configuration

15
00:01:21,790 --> 00:01:23,020
dialog at WordPress.

16
00:01:23,020 --> 00:01:25,060
Welcome to Bogdan's Wonderful website.

17
00:01:25,120 --> 00:01:25,600
Great.

18
00:01:25,600 --> 00:01:33,100
That's a summary for the last challenge, but now important notice recap that we have not specified

19
00:01:33,100 --> 00:01:42,010
here any volume mapping settings and that means that as soon as we will stop and remove those containers

20
00:01:42,010 --> 00:01:49,630
that are currently running here, they are all data in MySQL database in WordPress will be removed as

21
00:01:49,630 --> 00:01:50,230
well.

22
00:01:50,230 --> 00:01:54,100
And now if you want, here is a additional challenge for you.

23
00:01:54,100 --> 00:02:02,980
You could adjust the setup for those containers and add the persistent volumes for MySQL container and

24
00:02:02,980 --> 00:02:04,300
WordPress container.

25
00:02:04,300 --> 00:02:07,420
But again, that's up to you if you want to do that.

26
00:02:07,420 --> 00:02:11,680
But I will destroy those containers at the moment and move on.

27
00:02:11,680 --> 00:02:12,940
Let me do that quickly.

28
00:02:12,940 --> 00:02:16,630
I'll go to terminal and stop all those containers.

29
00:02:16,660 --> 00:02:19,450
Docker Stop WordPress.

30
00:02:23,100 --> 00:02:23,850
Docker.

31
00:02:23,850 --> 00:02:25,650
Stop MySQL.

32
00:02:28,940 --> 00:02:29,960
And Docker.

33
00:02:29,960 --> 00:02:32,720
Stop phpMyAdmin.

34
00:02:33,870 --> 00:02:36,870
And now let me remove all stopped containers.

35
00:02:36,900 --> 00:02:39,120
Docker Container.

36
00:02:39,480 --> 00:02:40,290
Prune.

37
00:02:41,660 --> 00:02:42,320
Yes.

38
00:02:43,480 --> 00:02:44,140
All right.

39
00:02:44,170 --> 00:02:47,380
Now I have cleaned, set up and I'm ready to proceed.

40
00:02:47,380 --> 00:02:53,470
And next, let's download Elasticsearch Image and I'll demonstrate you how we're able to communicate

41
00:02:53,470 --> 00:02:54,460
with Elasticsearch.

42
00:02:54,490 --> 00:02:55,090
I'll explain you.

43
00:02:55,120 --> 00:03:00,220
What is that and how you able to create new indexes and search in new indexes.

44
00:03:00,250 --> 00:03:01,390
I'll see you next.

45
00:03:01,390 --> 00:03:02,020
Bye bye.

