simonov nikita lab 1 ready

This commit is contained in:
Никита Симонов 2024-01-17 16:23:51 +04:00
parent 2690438508
commit 446a87ef73
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