Research Questions Docker Compose (Add On)
Refer to this code and answer the following questions:
version: "3.8" services: web: build: . depends_on: - db - redis volumes: - .:/code - logvolume01:/var/log ports: - "8080:80" redis: image: redis db: image: postgres volumes: logvolume01: {}
Quiz Summary
0 of 6 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
0 of 6 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- Current
- Review / Skip
- Answered
- Correct
- Incorrect
-
Question 1 of 6
1. Question
What is the host port on which the web application will be exposed on?
CorrectIncorrect -
Question 2 of 6
2. Question
Which of the following statements are true?
CorrectIncorrect -
Question 3 of 6
3. Question
How can the web application address
redis
?CorrectIncorrect -
Question 4 of 6
4. Question
What kind of volume mount is configured on the web application for the
/code
directory inside the container?CorrectIncorrect -
Question 5 of 6
5. Question
What kind of volume mount is configured on the web application for the
/var/log
directory inside the container?CorrectIncorrect -
Question 6 of 6
6. Question
Which is the correct statement referring to the following Compose file?
CorrectIncorrect