senkin_alexander_lab_1 is ready
This commit is contained in:
parent
a1c75ee3cf
commit
d736c1c80b
1
.idea/DAS_2023_1.iml
generated
1
.idea/DAS_2023_1.iml
generated
@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module type="JAVA_MODULE" version="4">
|
<module type="JAVA_MODULE" version="4">
|
||||||
|
<component name="Go" enabled="true" />
|
||||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
<exclude-output />
|
<exclude-output />
|
||||||
<content url="file://$MODULE_DIR$" />
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
38
senkin_alexander_lab_1/README.md
Normal file
38
senkin_alexander_lab_1/README.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Лабораторная работа №1 - Знакомство с docker и docker-compose
|
||||||
|
|
||||||
|
Цель: изучение современных технологий контейнеризации.
|
||||||
|
|
||||||
|
Задачи:
|
||||||
|
|
||||||
|
Установить средство контейнеризации docker.
|
||||||
|
Изучить применение и принципы docker.
|
||||||
|
Изучить утилиту docker-compose и структуру файла docker-compose.yml.
|
||||||
|
Развернуть не менее 3х различных сервисов при помощи docker-compose.
|
||||||
|
Оформить отчёт в формате Markdown и создать Pull Request в git-репозитории.
|
||||||
|
|
||||||
|
# Необходимо развернуть три сервиса
|
||||||
|
|
||||||
|
Были выбраны сервисы:
|
||||||
|
|
||||||
|
- redmine - система учёта багов, т.е. баг-трекер.
|
||||||
|
- wordpress - популярная система управления контентом.
|
||||||
|
- gitea - сервис для хранения репозиториев git, на котором работает этот репозиторий.
|
||||||
|
|
||||||
|
# Запуск
|
||||||
|
|
||||||
|
Запуск контейнеров производится командой "docker-compose up -d"
|
||||||
|
|
||||||
|
# Работы программы
|
||||||
|
|
||||||
|
- Был создан файл docker-compose.yml, в котором были описаны сервисы с их портами и томами. 
|
||||||
|
- Сборка и запуск контейнеров. 
|
||||||
|
- Все контейнеры отображаются в Docker Desktop 
|
||||||
|
- Переходим на страницу каждого сервиса для подтверждения их работоспособности:
|
||||||
|
- Wordpress 
|
||||||
|
- Gitea 
|
||||||
|
- Redmine 
|
||||||
|
|
||||||
|
# Видео
|
||||||
|
|
||||||
|
Видео с разбором лабораторной работы - https://youtu.be/5EkEJcCTc3Q
|
||||||
|
|
24
senkin_alexander_lab_1/docker-compose.yml
Normal file
24
senkin_alexander_lab_1/docker-compose.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
services:
|
||||||
|
gitea:
|
||||||
|
image: gitea/gitea
|
||||||
|
ports:
|
||||||
|
- "8081:3000"
|
||||||
|
volumes:
|
||||||
|
- gitea-data:/var/gitea
|
||||||
|
wordpress:
|
||||||
|
image: wordpress
|
||||||
|
ports:
|
||||||
|
- "8082:80"
|
||||||
|
volumes:
|
||||||
|
- wordpress-data:/var/wordpress
|
||||||
|
redmine:
|
||||||
|
image: redmine
|
||||||
|
ports:
|
||||||
|
- "8083:3000"
|
||||||
|
volumes:
|
||||||
|
- redmine-data:/var/redmine
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
gitea-data:
|
||||||
|
wordpress-data:
|
||||||
|
redmine-data:
|
BIN
senkin_alexander_lab_1/img.png
Normal file
BIN
senkin_alexander_lab_1/img.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
senkin_alexander_lab_1/img_1.png
Normal file
BIN
senkin_alexander_lab_1/img_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
senkin_alexander_lab_1/img_2.png
Normal file
BIN
senkin_alexander_lab_1/img_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
BIN
senkin_alexander_lab_1/img_3.png
Normal file
BIN
senkin_alexander_lab_1/img_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
BIN
senkin_alexander_lab_1/img_4.png
Normal file
BIN
senkin_alexander_lab_1/img_4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 65 KiB |
BIN
senkin_alexander_lab_1/img_5.png
Normal file
BIN
senkin_alexander_lab_1/img_5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
Loading…
x
Reference in New Issue
Block a user