gusev_vladislav_lab_1 is ready
This commit is contained in:
parent
1c2b200641
commit
4b902a1239
29
gusev_vladislav_lab_1/README.md
Normal file
29
gusev_vladislav_lab_1/README.md
Normal file
@ -0,0 +1,29 @@
|
||||
# Лабораторная работа №1 - Знакомство с docker и docker-compose
|
||||
|
||||
Необходимо взять 3 сервиса и развернуть их с помощью docker-compose.
|
||||
|
||||
# Сервисы:
|
||||
- wordpress - Популярная система управления контентом.
|
||||
- mediawiki - Движок вики.
|
||||
- drupal - Eщё одна популярная система управления контентом.
|
||||
|
||||
# Как запустить
|
||||
Командой "docker-compose up -d"
|
||||
|
||||
# Работа программы
|
||||
Развернули 3 сервиса:
|
||||
- wordpress: доступ на http://localhost:5000/
|
||||
- mediawiki: доступ на http://localhost:8080/
|
||||
- drupal: доступ на http://localhost:8081/
|
||||
|
||||
Запуск контейнеров: ![img_1.png](screenshots%2Fimg_1.png)
|
||||
|
||||
Контейнеры в Docker: ![img_2.png](screenshots%2Fimg_2.png)
|
||||
|
||||
Wordpress: ![img_3.png](screenshots%2Fimg_3.png)
|
||||
|
||||
Mediawiki: ![img_4.png](screenshots%2Fimg_4.png)
|
||||
|
||||
Drupal: ![img_5.png](screenshots%2Fimg_5.png)
|
||||
|
||||
Видео -> https://drive.google.com/file/d/1nKY8InMM6flwiOpobwkAXYLV-w-NXo1g/view?usp=share_link
|
26
gusev_vladislav_lab_1/docker-compose.yaml
Normal file
26
gusev_vladislav_lab_1/docker-compose.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
services:
|
||||
drupal:
|
||||
image: drupal:8-apache
|
||||
ports:
|
||||
- "8081:80"
|
||||
volumes:
|
||||
- drupal-data:/var/www/html/modules
|
||||
|
||||
wordpress:
|
||||
image: wordpress
|
||||
ports:
|
||||
- "5000:80"
|
||||
volumes:
|
||||
- wordpress-data:/var/www/html
|
||||
|
||||
mediawiki:
|
||||
image: mediawiki
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- mediawiki-data:/var/www/html/images
|
||||
|
||||
volumes:
|
||||
drupal-data:
|
||||
wordpress-data:
|
||||
mediawiki-data:
|
BIN
gusev_vladislav_lab_1/screenshots/img_1.png
Normal file
BIN
gusev_vladislav_lab_1/screenshots/img_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
BIN
gusev_vladislav_lab_1/screenshots/img_2.png
Normal file
BIN
gusev_vladislav_lab_1/screenshots/img_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 72 KiB |
BIN
gusev_vladislav_lab_1/screenshots/img_3.png
Normal file
BIN
gusev_vladislav_lab_1/screenshots/img_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
BIN
gusev_vladislav_lab_1/screenshots/img_4.png
Normal file
BIN
gusev_vladislav_lab_1/screenshots/img_4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
BIN
gusev_vladislav_lab_1/screenshots/img_5.png
Normal file
BIN
gusev_vladislav_lab_1/screenshots/img_5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 MiB |
Loading…
Reference in New Issue
Block a user