Merge pull request 'tepechin_kirill_lab_1' (#39) from tepechin_kirill_lab_1 into main
Reviewed-on: http://student.git.athene.tech/Alexey/DAS_2023_1/pulls/39
This commit is contained in:
commit
f6b74ebd83
67
tepechin_kirill_lab_1/README.md
Normal file
67
tepechin_kirill_lab_1/README.md
Normal file
@ -0,0 +1,67 @@
|
||||
## Лабораторная работа №1, ПИбд-42 Тепечин Кирилл
|
||||
|
||||
### Выбранные сервисы
|
||||
* *mediawiki* Движок вики.
|
||||
* *redmine* Система учёта багов, т.е. баг-трекер.
|
||||
* *wordpress* Популярная система управления контентом.
|
||||
### docker-compose файл
|
||||
````yaml
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
mediawiki:
|
||||
image: mediawiki
|
||||
volumes:
|
||||
- mediawiki-data:/var/www/html
|
||||
ports:
|
||||
- "8080:80"
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
- MYSQL_USER=user
|
||||
- MYSQL_PASSWORD=password
|
||||
- MYSQL_DATABASE=db
|
||||
|
||||
redmine:
|
||||
image: redmine
|
||||
volumes:
|
||||
- redmine-data:/usr/src/redmine/files
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- REDMINE_DB_MYSQL=db
|
||||
- REDMINE_DB_DATABASE=db
|
||||
- REDMINE_DB_USERNAME=user
|
||||
- REDMINE_DB_PASSWORD=password
|
||||
|
||||
wordpress:
|
||||
image: wordpress
|
||||
volumes:
|
||||
- wordpress-data:/var/www/html
|
||||
ports:
|
||||
- "8081:80"
|
||||
environment:
|
||||
- WORDPRESS_DB_HOST=db
|
||||
- WORDPRESS_DB_USER=user
|
||||
- WORDPRESS_DB_PASSWORD=password
|
||||
- WORDPRESS_DB_NAME=db
|
||||
db:
|
||||
image: mysql:5.7
|
||||
volumes:
|
||||
- db-data:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=password
|
||||
- MYSQL_DATABASE=db
|
||||
- MYSQL_USER=user
|
||||
- MYSQL_PASSWORD=password
|
||||
|
||||
volumes:
|
||||
mediawiki-data:
|
||||
redmine-data:
|
||||
wordpress-data:
|
||||
db-data:
|
||||
````
|
||||
### Результат выполнения команды docker-compose up
|
||||
![Результат](up.png)
|
||||
|
||||
### Ссылка на видео
|
||||
https://vk.com/video170089763_456239478?list=ln-8Kq0kTw1zDK7KMdrAz
|
53
tepechin_kirill_lab_1/docker-compose.yml
Normal file
53
tepechin_kirill_lab_1/docker-compose.yml
Normal file
@ -0,0 +1,53 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
mediawiki:
|
||||
image: mediawiki
|
||||
volumes:
|
||||
- mediawiki-data:/var/www/html
|
||||
ports:
|
||||
- "8080:80"
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
- MYSQL_USER=user
|
||||
- MYSQL_PASSWORD=password
|
||||
- MYSQL_DATABASE=db
|
||||
|
||||
redmine:
|
||||
image: redmine
|
||||
volumes:
|
||||
- redmine-data:/usr/src/redmine/files
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- REDMINE_DB_MYSQL=db
|
||||
- REDMINE_DB_DATABASE=db
|
||||
- REDMINE_DB_USERNAME=user
|
||||
- REDMINE_DB_PASSWORD=password
|
||||
|
||||
wordpress:
|
||||
image: wordpress
|
||||
volumes:
|
||||
- wordpress-data:/var/www/html
|
||||
ports:
|
||||
- "8081:80"
|
||||
environment:
|
||||
- WORDPRESS_DB_HOST=db
|
||||
- WORDPRESS_DB_USER=user
|
||||
- WORDPRESS_DB_PASSWORD=password
|
||||
- WORDPRESS_DB_NAME=db
|
||||
db:
|
||||
image: mysql:5.7
|
||||
volumes:
|
||||
- db-data:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=password
|
||||
- MYSQL_DATABASE=db
|
||||
- MYSQL_USER=user
|
||||
- MYSQL_PASSWORD=password
|
||||
|
||||
volumes:
|
||||
mediawiki-data:
|
||||
redmine-data:
|
||||
wordpress-data:
|
||||
db-data:
|
BIN
tepechin_kirill_lab_1/up.png
Normal file
BIN
tepechin_kirill_lab_1/up.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
Loading…
Reference in New Issue
Block a user