Merge pull request 'simonov nikita lab 1 ready' (#135) from simonov_nikita_lab_1 into main

Reviewed-on: #135
This commit is contained in:
Alexey 2024-12-10 22:02:19 +04:00
commit bd30b12c12
6 changed files with 99 additions and 0 deletions

View File

@ -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:

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB