今天就学习课程吧!
今天就开通帐号,24,600 门业界名师课程任您挑!
Finalize and test the back-end setup
- [Instructor] Before we move on and test our new Docker backend with Compose, make sure you have shared local drives for the volumes that Docker will need. And the way to check for that, all we need to do is go into Docker, and then Preferences and then what you could do is go into Resources, File Sharing. So if you don't have anything like volumes in this particular resources here, what you need to do is create a volume because otherwise it's not going to work. So once you have that, you should be good to go. So let's go ahead and close that. Also, the other thing that you absolutely need to do in the index.js file is to make sure that you connect to mongo here because if you don't connect to mongo this way, it's going to be looking for that container_name: mongo and it's not going to find it. So make sure that you're actually using this connection the same way. All right, so we're ready. So what we're going to…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
(已锁定)
Overview back-end/front-end architecture1 分钟 2 秒
-
(已锁定)
Practical back end with Compose4 分钟 27 秒
-
(已锁定)
Finalize and test the back-end setup5 分钟 23 秒
-
(已锁定)
Practical front-end setup3 分钟 29 秒
-
(已锁定)
Finalize and test the front-end setup5 分钟 38 秒
-
(已锁定)
Full stack setup: Put it all together7 分钟 41 秒
-
(已锁定)
Other language tips and tricks2 分钟 17 秒
-
(已锁定)
-
-
-
-