Menu

Write a Docker Compose File
πŸ“°

Write a Docker Compose File

DEV Community: dockerΒ·Janak ShresthaΒ·about 6 hours ago
#bnsmHDiL
#devtodocker#devto#dev#docker#httpd
Reading 0:00
15s threshold

The Nautilus application development team shared static website content that needs to be hosted on the httpd web server using a containerised platform. The team has shared details with the DevOps team, and we need to set up an environment according to those guidelines. Below are the details:

a. On App Server 3 in Stratos DC create a container named httpd using a docker compose file /opt/docker/docker-compose.yml (please use the exact name for file).

b. Use httpd (preferably latest tag) image for container and make sure container is named as httpd ; you can use any name for service.

c. Map 80 number port of container with port 6000 of docker host.

d. Map container's /usr/local/apache2/htdocs volume with /opt/itadmin volume of docker host which is already there.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.