almukhammetov_bulat_lab_1 #2

Merged
Alexey merged 2 commits from almukhammetov_bulat_lab_1 into main 2023-10-11 19:51:32 +04:00
1600 changed files with 1170 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,173 @@
<?php
# This file was automatically generated by the MediaWiki 1.40.1
# installer. If you make manual changes, please keep track in case you
# need to recreate them later.
#
# See includes/MainConfigSchema.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.
#
# Further documentation for configuration settings may be found at:
# https://www.mediawiki.org/wiki/Manual:Configuration_settings
# Protect against web entry
if ( !defined( 'MEDIAWIKI' ) ) {
exit;
}
## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;
$wgSitename = "Bulatopedia";
## The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
## For more information on customizing the URLs
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
## https://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath = "";
## The protocol and server name to use in fully-qualified URLs
$wgServer = "http://localhost:8081";
## The URL path to static resources (images, scripts, etc.)
$wgResourceBasePath = $wgScriptPath;
## The URL paths to the logo. Make sure you change this from the default,
## or else you'll overwrite your logo when you upgrade!
$wgLogos = [
'1x' => "$wgResourceBasePath/resources/assets/change-your-logo.svg",
'icon' => "$wgResourceBasePath/resources/assets/change-your-logo-icon.svg",
];
## UPO means: this is also a user preference option
$wgEnableEmail = true;
$wgEnableUserEmail = true; # UPO
$wgEmergencyContact = "";
$wgPasswordSender = "";
$wgEnotifUserTalk = false; # UPO
$wgEnotifWatchlist = false; # UPO
$wgEmailAuthentication = true;
## Database settings
$wgDBtype = "sqlite";
$wgDBserver = "";
$wgDBname = "my_wiki";
$wgDBuser = "";
$wgDBpassword = "";
# SQLite-specific settings
$wgSQLiteDataDir = "/var/www/data";
$wgObjectCaches[CACHE_DB] = [
'class' => SqlBagOStuff::class,
'loggroup' => 'SQLBagOStuff',
'server' => [
'type' => 'sqlite',
'dbname' => 'wikicache',
'tablePrefix' => '',
'variables' => [ 'synchronous' => 'NORMAL' ],
'dbDirectory' => $wgSQLiteDataDir,
'trxMode' => 'IMMEDIATE',
'flags' => 0
]
];
$wgObjectCaches['db-replicated'] = [
'factory' => 'Wikimedia\ObjectFactory\ObjectFactory::getObjectFromSpec',
'args' => [ [ 'factory' => 'ObjectCache::getInstance', 'args' => [ CACHE_DB ] ] ]
];
$wgLocalisationCacheConf['storeServer'] = [
'type' => 'sqlite',
'dbname' => "{$wgDBname}_l10n_cache",
'tablePrefix' => '',
'variables' => [ 'synchronous' => 'NORMAL' ],
'dbDirectory' => $wgSQLiteDataDir,
'trxMode' => 'IMMEDIATE',
'flags' => 0
];
$wgJobTypeConf['default'] = [
'class' => 'JobQueueDB',
'claimTTL' => 3600,
'server' => [
'type' => 'sqlite',
'dbname' => "{$wgDBname}_jobqueue",
'tablePrefix' => '',
'variables' => [ 'synchronous' => 'NORMAL' ],
'dbDirectory' => $wgSQLiteDataDir,
'trxMode' => 'IMMEDIATE',
'flags' => 0
]
];
$wgResourceLoaderUseObjectCacheForDeps = true;
# Shared database table
# This has no effect unless $wgSharedDB is also set.
$wgSharedTables[] = "actor";
## Shared memory settings
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = [];
## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgEnableUploads = false;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
# InstantCommons allows wiki to use images from https://commons.wikimedia.org
$wgUseInstantCommons = false;
# Periodically send a pingback to https://www.mediawiki.org/ with basic data
# about this MediaWiki instance. The Wikimedia Foundation shares this data
# with MediaWiki developers to help guide future development efforts.
$wgPingback = false;
# Site language code, should be one of the list in ./includes/languages/data/Names.php
$wgLanguageCode = "ru";
# Time zone
$wgLocaltimezone = "UTC";
## Set $wgCacheDirectory to a writable directory on the web server
## to make your wiki go slightly faster. The directory should not
## be publicly accessible from the web.
#$wgCacheDirectory = "$IP/cache";
$wgSecretKey = "04e9ee1d93c6275a50653e8434c764a29a91fda9247e895705c6edcd57b7d969";
# Changing this will log out all existing sessions.
$wgAuthenticationTokenVersion = "1";
# Site upgrade key. Must be set to a string (default provided) to turn on the
# web installer while LocalSettings.php is in place
$wgUpgradeKey = "ec98db906a4cfc12";
## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
# Path to the GNU diff3 utility. Used for conflict resolution.
$wgDiff3 = "/usr/bin/diff3";
## Default skin: you can change the default skin. Use the internal symbolic
## names, e.g. 'vector' or 'monobook':
$wgDefaultSkin = "vector";
# Enabled skins.
# The following skins were automatically enabled:
wfLoadSkin( 'MinervaNeue' );
wfLoadSkin( 'MonoBook' );
wfLoadSkin( 'Timeless' );
wfLoadSkin( 'Vector' );
# End of automatically generated settings.
# Add more configuration options below.

View File

@ -0,0 +1,16 @@
Альмухамметов ПИбд-42
Комментарии можной найти в файле DockerCompose.
Ссылка на видео с проверкой роботоспособности, так же добавил на гит:
https://vk.com/video228053206_456240760?list=ln-bomqrwT89FaZYIodP0
Запуск:
docker-compose up -d запустит все контейнеры, определенные в файле docker-compose.yml, в фоновом режиме
![Alt text](image.png)
Внутри контейнера:
![Alt text](image-1.png)

View File

@ -0,0 +1 @@
Deny from all

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,55 @@
version: '3.3'
services:
gitea:
image: gitea/gitea:latest
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
volumes:
- ./gitea:/data # Монтируем директорию для данных Gitea
ports:
- "3000:3000" # Проброс порта для доступа к Gitea
networks:
- mynetwork
postgres:
image: postgres:10
volumes:
- ./storage/postgresql-data:/var/lib/postgresql/data # Монтируем директорию для данных PostgreSQL
environment:
POSTGRES_PASSWORD: "strong_pass"
POSTGRES_DB: "redmine"
PGDATA: "/var/lib/postgresql/data"
restart: always
redmine:
image: redmine
ports:
- 80:3000 # Проброс порта для доступа к Redmine
volumes:
- ./storage/docker_redmine-plugins:/usr/src/redmine/plugins # Монтируем директорию для плагинов Redmine
- ./storage/docker_redmine-themes:/usr/src/redmine/public/themes # Монтируем директорию для тем Redmine
- ./storage/docker_redmine-data:/usr/src/redmine/files # Монтируем директорию для данных Redmine
environment:
REDMINE_DB_POSTGRES: "postgres"
REDMINE_DB_USERNAME: "postgres"
REDMINE_DB_PASSWORD: "strong_pass"
REDMINE_DB_DATABASE: "redmine"
REDMINE_SECRET_KEY_BASE: "…" # Необходимо установить секретный ключ
restart: always
mediawiki:
image: mediawiki
ports:
- 8081:80 # Проброс порта для доступа к MediaWiki
volumes:
- ./LocalSettings.php:/var/www/html/LocalSettings.php # Монтируем конфигурацию MediaWiki
- ./database:/var/www/data # Монтируем директорию для данных MediaWiki
- ./images:/var/www/html/images # Монтируем директорию для изображений MediaWiki
restart: always
networks:
mynetwork:

View File

@ -0,0 +1 @@
GITEA_CUSTOM=/data/gitea

View File

@ -0,0 +1,62 @@
APP_NAME = Gitea: Git with a cup of tea
RUN_MODE = prod
[repository]
ROOT = /data/git/repositories
[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
[repository.upload]
TEMP_PATH = /data/gitea/uploads
[server]
APP_DATA_PATH = /data/gitea
DOMAIN = localhost
SSH_DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL =
DISABLE_SSH = false
SSH_PORT = 22
SSH_LISTEN_PORT = 22
LFS_START_SERVER = false
[database]
PATH = /data/gitea/gitea.db
DB_TYPE = sqlite3
HOST = localhost:3306
NAME = gitea
USER = root
PASSWD =
LOG_SQL = false
[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
[session]
PROVIDER_CONFIG = /data/gitea/sessions
[picture]
AVATAR_UPLOAD_PATH = /data/gitea/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
[attachment]
PATH = /data/gitea/attachments
[log]
MODE = console
LEVEL = info
ROOT_PATH = /data/gitea/log
[security]
INSTALL_LOCK = false
SECRET_KEY =
REVERSE_PROXY_LIMIT = 1
REVERSE_PROXY_TRUSTED_PROXIES = *
[service]
DISABLE_REGISTRATION = false
REQUIRE_SIGNIN_VIEW = false
[lfs]
PATH = /data/git/lfs

View File

@ -0,0 +1,9 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAaAAAABNlY2RzYS
1zaGEyLW5pc3RwMjU2AAAACG5pc3RwMjU2AAAAQQSYxCwxFwYCyy5fDN816KhJ3l9mVouF
8VMWXjRPCmY4hBG9/Jea0yKDLmUHaLpzF6rbq2iC75znbS6wk9+cpse1AAAAsP1CxyP9Qs
cjAAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJjELDEXBgLLLl8M
3zXoqEneX2ZWi4XxUxZeNE8KZjiEEb38l5rTIoMuZQdounMXqturaILvnOdtLrCT35ymx7
UAAAAhAP1gVbf4gLXoIrFjR4lzo4fQbb5qVi9M8eHobOOfaSWXAAAAEXJvb3RAMjQ4NGI2
YzAzOWE4AQIDBAUG
-----END OPENSSH PRIVATE KEY-----

View File

@ -0,0 +1 @@
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJjELDEXBgLLLl8M3zXoqEneX2ZWi4XxUxZeNE8KZjiEEb38l5rTIoMuZQdounMXqturaILvnOdtLrCT35ymx7U= root@2484b6c039a8

View File

@ -0,0 +1,7 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACAJdzq7Yw6grJFnEepaWl9LAzuXemqTN9iBPoglFrirYwAAAJh5qJv9eaib
/QAAAAtzc2gtZWQyNTUxOQAAACAJdzq7Yw6grJFnEepaWl9LAzuXemqTN9iBPoglFrirYw
AAAEAA1pTKirDCiEpPddtYkbrMqZ+txZq555nTDVStSLONQQl3OrtjDqCskWcR6lpaX0sD
O5d6apM32IE+iCUWuKtjAAAAEXJvb3RAMjQ4NGI2YzAzOWE4AQIDBA==
-----END OPENSSH PRIVATE KEY-----

View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAl3OrtjDqCskWcR6lpaX0sDO5d6apM32IE+iCUWuKtj root@2484b6c039a8

View File

@ -0,0 +1,27 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABFwAAAAdzc2gtcn
NhAAAAAwEAAQAAAQEA47s4O3evlWBOZFZt207TLPc56V75Tiz0TE4tTBYzel1A4OsrM+JP
02czLl98YLbEwxc8f717/c7yVO2eE/f2Lw0MpfmkKfD+QFJW546gVx+njAWHKkZ7y10CbT
OXc38/blWj3mxHY3DmdBxobU64gyrtrCkg/GWRmIX0esxYrZ1WqMQygOAIoNtWvveF7515
uz3wQ+dj77MI2fSF8vn+nqPwGZbjjejEzeHoGesGLER0jobsYWSRy4BVzY+Cbqgq281MXa
r30B+uMtPubgLmMZcEAQeNziSlfjxKGTpyKeh5ZhppbVPZ6+O+vjBaxFApaMy5TkWrHPpD
4K8Egc2znQAAA8hJsG1rSbBtawAAAAdzc2gtcnNhAAABAQDjuzg7d6+VYE5kVm3bTtMs9z
npXvlOLPRMTi1MFjN6XUDg6ysz4k/TZzMuX3xgtsTDFzx/vXv9zvJU7Z4T9/YvDQyl+aQp
8P5AUlbnjqBXH6eMBYcqRnvLXQJtM5dzfz9uVaPebEdjcOZ0HGhtTriDKu2sKSD8ZZGYhf
R6zFitnVaoxDKA4Aig21a+94XvnXm7PfBD52PvswjZ9IXy+f6eo/AZluON6MTN4egZ6wYs
RHSOhuxhZJHLgFXNj4JuqCrbzUxdqvfQH64y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AAAADAQABAAABAQDjuzg7d6+VYE5kVm3bTtMs9znpXvlOLPRMTi1MFjN6XUDg6ysz4k/TZzMuX3xgtsTDFzx/vXv9zvJU7Z4T9/YvDQyl+aQp8P5AUlbnjqBXH6eMBYcqRnvLXQJtM5dzfz9uVaPebEdjcOZ0HGhtTriDKu2sKSD8ZZGYhfR6zFitnVaoxDKA4Aig21a+94XvnXm7PfBD52PvswjZ9IXy+f6eo/AZluON6MTN4egZ6wYsRHSOhuxhZJHLgFXNj4JuqCrbzUxdqvfQH64y0+5uAuYxlwQBB43OJKV+PEoZOnIp6HlmGmltU9nr476+MFrEUClozLlORasc+kPgrwSBzbOd root@2484b6c039a8

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -0,0 +1 @@
10

Some files were not shown because too many files have changed in this diff Show More