File tree Expand file tree Collapse file tree 6 files changed +12
-5
lines changed
Expand file tree Collapse file tree 6 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 2929 # - default
3030 - lightweight
3131# - lightweight-wbNoSharedCache
32- # - lightweight-mwCacheDirectory
32+ - lightweight-mwCacheDirectory
3333 # - mwCacheDirectory
3434 # - mwNoJobs
3535 # - wbNoChangesTable
Original file line number Diff line number Diff line change @@ -16,9 +16,10 @@ Steps:
1616You can also try running them locally... For example...
1717
1818``` sh
19- PROFILE_IMAGE=wikibase/wikibase:1.35-base PROFILE_SETTINGS=lightweight PROFILE_SQL=mariadb:10.5 docker-compose up -d
19+ PROFILE_IMAGE=wikibase/wikibase:1.35-base PROFILE_SETTINGS=lightweight-mwCacheDirectory PROFILE_SQL=mariadb:10.5 docker-compose up -d mysql wikibase1
2020./docker-compose-wait1.sh
21+ PROFILE_IMAGE=wikibase/wikibase:1.35-base PROFILE_SETTINGS=lightweight-mwCacheDirectory PROFILE_SQL=mariadb:10.5 docker-compose up -d wikibase2
2122./docker-compose-wait2.sh
22- sleep 3
23- ASYNC=40 INSTANCES=2 ./loads/2000EmptyItems.sh
23+ sleep 5
24+ ASYNC=150 INSTANCES=2 ./loads/2000EmptyItems.sh
2425```
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ services:
77 volumes :
88 - ./:/code-repo
99 - ./settings/${PROFILE_SETTINGS}.sh:/code-settings.sh
10+ - ./apache.extra.conf:/etc/apache2/conf-available/wb-profile.extra.conf
1011 links :
1112 - mysql
1213 ports :
@@ -19,6 +20,7 @@ services:
1920 volumes :
2021 - ./:/code-repo
2122 - ./settings/${PROFILE_SETTINGS}.sh:/code-settings.sh
23+ - ./apache.extra.conf:/etc/apache2/conf-available/wb-profile.extra.conf
2224 links :
2325 - mysql
2426 ports :
Original file line number Diff line number Diff line change 11[mysqld]
2- max_connections =500
2+ max_connections =1000
Original file line number Diff line number Diff line change @@ -23,3 +23,5 @@ echo "\$wgWBRepoSettings['idGeneratorSeparateDbConnection'] = true;" >> LocalSet
2323# # to make your wiki go slightly faster. The directory should not
2424# # be publicly accessible from the web.
2525echo " \$ wgCacheDirectory = \"\$ IP/cache\" ;" >> LocalSettings.php
26+ mkdir cache
27+ chmod -R 775 cache
Original file line number Diff line number Diff line change 22# # to make your wiki go slightly faster. The directory should not
33# # be publicly accessible from the web.
44echo " \$ wgCacheDirectory = \"\$ IP/cache\" ;" >> LocalSettings.php
5+ mkdir cache
6+ chmod -R 775 cache
You can’t perform that action at this time.
0 commit comments