Merge pull request 'simonov nikita lab 1 ready' (#135) from simonov_nikita_lab_1 into main
Reviewed-on: #135
This commit is contained in:
commit
bd30b12c12
29
simonov_nikita_lab_1/docker-compose.yml
Normal file
29
simonov_nikita_lab_1/docker-compose.yml
Normal 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:
|
70
simonov_nikita_lab_1/readme.md
Normal file
70
simonov_nikita_lab_1/readme.md
Normal 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
|
||||
|
||||
|
||||
|
BIN
simonov_nikita_lab_1/screens/Screenshot_1.png
Normal file
BIN
simonov_nikita_lab_1/screens/Screenshot_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
simonov_nikita_lab_1/screens/Screenshot_2.png
Normal file
BIN
simonov_nikita_lab_1/screens/Screenshot_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
BIN
simonov_nikita_lab_1/screens/Screenshot_3.png
Normal file
BIN
simonov_nikita_lab_1/screens/Screenshot_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
BIN
simonov_nikita_lab_1/screens/Screenshot_4.png
Normal file
BIN
simonov_nikita_lab_1/screens/Screenshot_4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
Loading…
Reference in New Issue
Block a user