Docker Compose With Nginx And The Volume Variable

preview_player
Показать описание
In this video we will create a docker nginx container using docker compose and use the vomume variable so we can edit files in the web/html folder on the host server.

This will help us to make changes to the web server files without logging into the container itself.

Github repo:

Docker compose file:

---
version: "2"
services:
web1:
image: nginx
volumes:
- ./startbootstrap-landing-page:/usr/share/nginx/html
ports:
- "80:80"
Рекомендации по теме
Комментарии
Автор

Your content was very usefully for me personally, but i think your should post it as a serie

derciorosario