diff --git a/simonov_nikita_lab_1/docker-compose.yml b/simonov_nikita_lab_1/docker-compose.yml new file mode 100644 index 0000000..db9b18c --- /dev/null +++ b/simonov_nikita_lab_1/docker-compose.yml @@ -0,0 +1,29 @@ +version: '3.9' + +services: + + mediawiki: + image: mediawiki + ports: + - "8081:80" + volumes: + - mediawiki-data:/var/www/html/images + + redmine: + image: redmine + ports: + - "3000:3000" + volumes: + - redmine-data:/usr/src/redmine/files + + wordpress: + image: wordpress + ports: + - "8083:80" + volumes: + - wordpress-data:/var/www/html/wp-content + +volumes: + mediawiki-data: + redmine-data: + wordpress-data: diff --git a/simonov_nikita_lab_1/readme.md b/simonov_nikita_lab_1/readme.md new file mode 100644 index 0000000..d630273 --- /dev/null +++ b/simonov_nikita_lab_1/readme.md @@ -0,0 +1,70 @@ +# Лабораторная работа №1. + +## Задание + +Разверните 3 сервиса на выбор в контейнерах docker с помощью docker-compose. + +## Выбранные сервисы + +- mediawiki +- wordpress +- readmine + +## Docker-compose файл + +```yml +version: '3.9' + +services: + + mediawiki: + image: mediawiki + ports: + - "8081:80" + volumes: + - mediawiki-data:/var/www/html/images + + redmine: + image: redmine + ports: + - "3000:3000" + volumes: + - redmine-data:/usr/src/redmine/files + + wordpress: + image: wordpress + ports: + - "8083:80" + volumes: + - wordpress-data:/var/www/html/wp-content + +volumes: + mediawiki-data: + redmine-data: + wordpress-data: +``` + +## Запуск + +Командой в консоли проекта: + +```bash +docker-compose up -d --build +``` + +## Результат выполнения + +![](/screens/Screenshot_1.png) + +![](/screens/Screenshot_2.png) + +![](/screens/Screenshot_3.png) + +![](/screens/Screenshot_4.png) + +## Ссылка на видео + +https://drive.google.com/file/d/1EY6GSXtWPR-JRzjx-jjPdzHfnGhJF_lQ/view?usp=sharing + + + diff --git a/simonov_nikita_lab_1/screens/Screenshot_1.png b/simonov_nikita_lab_1/screens/Screenshot_1.png new file mode 100644 index 0000000..ac10faf Binary files /dev/null and b/simonov_nikita_lab_1/screens/Screenshot_1.png differ diff --git a/simonov_nikita_lab_1/screens/Screenshot_2.png b/simonov_nikita_lab_1/screens/Screenshot_2.png new file mode 100644 index 0000000..cbe7f14 Binary files /dev/null and b/simonov_nikita_lab_1/screens/Screenshot_2.png differ diff --git a/simonov_nikita_lab_1/screens/Screenshot_3.png b/simonov_nikita_lab_1/screens/Screenshot_3.png new file mode 100644 index 0000000..24bc0e4 Binary files /dev/null and b/simonov_nikita_lab_1/screens/Screenshot_3.png differ diff --git a/simonov_nikita_lab_1/screens/Screenshot_4.png b/simonov_nikita_lab_1/screens/Screenshot_4.png new file mode 100644 index 0000000..47685ec Binary files /dev/null and b/simonov_nikita_lab_1/screens/Screenshot_4.png differ