From 06d65650abb88190ee786d8b209f34b1c3f7be28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=90=D0=BB=D0=B5=D0=B9?= =?UTF-8?q?=D0=BA=D0=B8=D0=BD?= Date: Fri, 18 Oct 2024 00:05:35 +0400 Subject: [PATCH 1/2] aleikin_artem_lab1 is ready --- .vs/DAS_2024_1/v17/.wsuo | Bin 0 -> 11264 bytes .vs/DAS_2024_1/v17/DocumentLayout.json | 43 +++++++++++++++++++++++ .vs/VSWorkspaceState.json | 6 ++++ aleikin_artem_lab_1/README.md | 32 ++++++++++++++++++ aleikin_artem_lab_1/docker-compose.yml | 45 +++++++++++++++++++++++++ 5 files changed, 126 insertions(+) create mode 100644 .vs/DAS_2024_1/v17/.wsuo create mode 100644 .vs/DAS_2024_1/v17/DocumentLayout.json create mode 100644 .vs/VSWorkspaceState.json create mode 100644 aleikin_artem_lab_1/README.md create mode 100644 aleikin_artem_lab_1/docker-compose.yml diff --git a/.vs/DAS_2024_1/v17/.wsuo b/.vs/DAS_2024_1/v17/.wsuo new file mode 100644 index 0000000000000000000000000000000000000000..4a7f38b12082dee973ddfedfeda08bc4e6a03be9 GIT binary patch literal 11264 zcmeHN+iw(A96kk65xgLXiiizq3{j`f%-&{eBv3A5LIv5(!N`-Z$g>H&nRrR`#aI6VsNZ*XPxo|ocRIU^K*OHRbk6-d=XX25^PAqh zvF)#~ukQL=MACk-QQThMEFRYCN3^_nN{A;=X5H=Oocy0vrZB~(LvWm5RWt%wpH|CEiT@DlH{eOS{}<3#={47KOWy$UPdDdcHR(iFF~1e>$MNjI zL!BqT`QD88HazUZ@-VF*3fxuw|LDsV{lE4I1O`dz-`&*zJ-{96za;;P?W8@R9iaYh zN1nP(y=IyE&$rV5$52MGEs>>dmBWhrngZl&r-!_Z)|3Bw9d$@A^IUia&rUqg;&~2_ z-X6{0*MxaM7FU4BQ<6T&JaS9oko;SO=W!ObRp|pYTENT>={5Kty1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=NAMro=e?a#z{wL#KjH!?hN%*G6AENtz(Bgm5{WH46 zh|mIJ4rLjCscW&n_9!Ug50d`;-j|gAj906uK@$9S)E1Zb0iXUa<7r9p`MpT__)&cR z9}r_-6`Ts)qwXzy#=nWHQmdtVj(b<}zfSm#FJJ*y5y +cd <папка репозитория> +``` + +2. Запуск контейнеров: +``` +docker-compose up -d +``` + +3. После запуска должны быть доступны следующие контейнеры: + + MediaWiki: http://localhost:8080 + Redmine: http://localhost:8081 + +4. Чтобы остановить контейнеры: +``` +docker-compose down +``` + +Видео демонстрации работы: https://vk.com/video248424990_456239601?list=ln-sCRa9IIiV1VpInn2d1 \ No newline at end of file diff --git a/aleikin_artem_lab_1/docker-compose.yml b/aleikin_artem_lab_1/docker-compose.yml new file mode 100644 index 0000000..837a008 --- /dev/null +++ b/aleikin_artem_lab_1/docker-compose.yml @@ -0,0 +1,45 @@ +services: + mediawiki: + image: mediawiki + container_name: mediawiki + ports: + - "8080:80" # Пробрасываем порт 8080 на хост для доступа к MediaWiki + volumes: + - mediawiki_data:/var/www/html/images # Создаем volume для хранения данных MediaWiki + environment: + - MEDIAWIKI_DB_HOST=db + - MEDIAWIKI_DB_NAME=mediawiki + - MEDIAWIKI_DB_USER=root + - MEDIAWIKI_DB_PASSWORD=example + depends_on: + - db + + redmine: + image: redmine + container_name: redmine + ports: + - "8081:3000" # Пробрасываем порт 8081 на хост для доступа к Redmine + volumes: + - redmine_data:/usr/src/redmine/files # Создаем volume для хранения данных Redmine + environment: + - REDMINE_DB_POSTGRESQL=db + - REDMINE_DB_DATABASE=redmine + - REDMINE_DB_USERNAME=root + - REDMINE_DB_PASSWORD=example + depends_on: + - db + + db: + image: postgres:latest + container_name: db + environment: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: example + POSTGRES_DB: postgres + volumes: + - db_data:/var/lib/postgresql # Volume для базы данных + +volumes: + mediawiki_data: # volume для MediaWiki + redmine_data: # volume для Redmine + db_data: # volume для базы данных From d3a7046f971eaad6368bf03e5df566a07d0d0c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=90=D0=BB=D0=B5=D0=B9?= =?UTF-8?q?=D0=BA=D0=B8=D0=BD?= Date: Fri, 18 Oct 2024 00:09:32 +0400 Subject: [PATCH 2/2] aleikin_artem_lab1 is ready --- .vs/DAS_2024_1/v17/.wsuo | Bin 11264 -> 0 bytes .vs/DAS_2024_1/v17/DocumentLayout.json | 43 ------------------------- .vs/VSWorkspaceState.json | 6 ---- 3 files changed, 49 deletions(-) delete mode 100644 .vs/DAS_2024_1/v17/.wsuo delete mode 100644 .vs/DAS_2024_1/v17/DocumentLayout.json delete mode 100644 .vs/VSWorkspaceState.json diff --git a/.vs/DAS_2024_1/v17/.wsuo b/.vs/DAS_2024_1/v17/.wsuo deleted file mode 100644 index 4a7f38b12082dee973ddfedfeda08bc4e6a03be9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11264 zcmeHN+iw(A96kk65xgLXiiizq3{j`f%-&{eBv3A5LIv5(!N`-Z$g>H&nRrR`#aI6VsNZ*XPxo|ocRIU^K*OHRbk6-d=XX25^PAqh zvF)#~ukQL=MACk-QQThMEFRYCN3^_nN{A;=X5H=Oocy0vrZB~(LvWm5RWt%wpH|CEiT@DlH{eOS{}<3#={47KOWy$UPdDdcHR(iFF~1e>$MNjI zL!BqT`QD88HazUZ@-VF*3fxuw|LDsV{lE4I1O`dz-`&*zJ-{96za;;P?W8@R9iaYh zN1nP(y=IyE&$rV5$52MGEs>>dmBWhrngZl&r-!_Z)|3Bw9d$@A^IUia&rUqg;&~2_ z-X6{0*MxaM7FU4BQ<6T&JaS9oko;SO=W!ObRp|pYTENT>={5Kty1&q&OIsEDo6Xu2 z!h`oW1+;1tn?4sk(VCbMPTSaM#a`gkpHwy}+TN*5U*(l%!y)Y61s2iffqbED6`f{i z)xrN-W%F7s-E-6f)p{719w>blKl+`slH$HNhf+;-ig}OrfzN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