diff --git a/gusev_vladislav_lab_1/README.md b/gusev_vladislav_lab_1/README.md new file mode 100644 index 0000000..190c25f --- /dev/null +++ b/gusev_vladislav_lab_1/README.md @@ -0,0 +1,29 @@ +# Лабораторная работа №1 - Знакомство с docker и docker-compose + +Необходимо взять 3 сервиса и развернуть их с помощью docker-compose. + +# Сервисы: +- wordpress - Популярная система управления контентом. +- mediawiki - Движок вики. +- drupal - Eщё одна популярная система управления контентом. + +# Как запустить +Командой "docker-compose up -d" + +# Работа программы +Развернули 3 сервиса: +- wordpress: доступ на http://localhost:5000/ +- mediawiki: доступ на http://localhost:8080/ +- drupal: доступ на http://localhost:8081/ + +Запуск контейнеров: ![img_1.png](screenshots%2Fimg_1.png) + +Контейнеры в Docker: ![img_2.png](screenshots%2Fimg_2.png) + +Wordpress: ![img_3.png](screenshots%2Fimg_3.png) + +Mediawiki: ![img_4.png](screenshots%2Fimg_4.png) + +Drupal: ![img_5.png](screenshots%2Fimg_5.png) + +Видео -> https://drive.google.com/file/d/1nKY8InMM6flwiOpobwkAXYLV-w-NXo1g/view?usp=share_link \ No newline at end of file diff --git a/gusev_vladislav_lab_1/docker-compose.yaml b/gusev_vladislav_lab_1/docker-compose.yaml new file mode 100644 index 0000000..9e661d4 --- /dev/null +++ b/gusev_vladislav_lab_1/docker-compose.yaml @@ -0,0 +1,26 @@ +services: + drupal: + image: drupal:8-apache + ports: + - "8081:80" + volumes: + - drupal-data:/var/www/html/modules + + wordpress: + image: wordpress + ports: + - "5000:80" + volumes: + - wordpress-data:/var/www/html + + mediawiki: + image: mediawiki + ports: + - "8080:80" + volumes: + - mediawiki-data:/var/www/html/images + +volumes: + drupal-data: + wordpress-data: + mediawiki-data: \ No newline at end of file diff --git a/gusev_vladislav_lab_1/screenshots/img_1.png b/gusev_vladislav_lab_1/screenshots/img_1.png new file mode 100644 index 0000000..07be04f Binary files /dev/null and b/gusev_vladislav_lab_1/screenshots/img_1.png differ diff --git a/gusev_vladislav_lab_1/screenshots/img_2.png b/gusev_vladislav_lab_1/screenshots/img_2.png new file mode 100644 index 0000000..67c9650 Binary files /dev/null and b/gusev_vladislav_lab_1/screenshots/img_2.png differ diff --git a/gusev_vladislav_lab_1/screenshots/img_3.png b/gusev_vladislav_lab_1/screenshots/img_3.png new file mode 100644 index 0000000..ed10089 Binary files /dev/null and b/gusev_vladislav_lab_1/screenshots/img_3.png differ diff --git a/gusev_vladislav_lab_1/screenshots/img_4.png b/gusev_vladislav_lab_1/screenshots/img_4.png new file mode 100644 index 0000000..eb23237 Binary files /dev/null and b/gusev_vladislav_lab_1/screenshots/img_4.png differ diff --git a/gusev_vladislav_lab_1/screenshots/img_5.png b/gusev_vladislav_lab_1/screenshots/img_5.png new file mode 100644 index 0000000..5ce4410 Binary files /dev/null and b/gusev_vladislav_lab_1/screenshots/img_5.png differ