Please check out more details on MediaWiki Canasta Linux/Docker: dataspectsSystemBuilder approach

44 views
Skip to first unread message

Lex Sulzer

unread,
Jan 24, 2021, 5:54:08 AM1/24/21
to Project Canasta

Yaron Koren

unread,
Jan 24, 2021, 12:18:57 PM1/24/21
to Lex Sulzer, Project Canasta
Hi Lex,

Thank you for this additional detail - it provides useful information not only about dataspectsSystemBuilder, but about the features that presumably any solution should have.

I have a few questions:

- Is there any way for the database password to be made unique for each installation - either by having the administrator create it, or by making a new random one every time? (This is something I wonder about in general, not just specifically for dataspectsSystemBuilder.)
- In this code, there is an "APACHE_CONTAINER_NAME" but no corresponding "MYSQL_CONTAINER_NAME" or "PHP_CONTAINER_NAME". Are MySQL and PHP also getting included in the overall image/downloadable? If so, how?
- Can the combination of MW + MW extensions and skins + DB (what you call the "CreatorArtefacts") be downloaded on its own, separately from Apache and the rest?

Sorry if some of these questions show that I've misunderstood the concept (quite possible). And for the questions that actually make sense, feel free to put the answers either here, or on the mediawiki.org page.

-Yaron

On Sun, Jan 24, 2021 at 5:54 AM Lex Sulzer <l...@dataspects.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Project Canasta" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-canas...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/project-canasta/fbf7ed55-bdc2-41bd-94bd-942c98719eden%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
WikiWorks · MediaWiki Consulting · http://wikiworks.com

Lex Sulzer

unread,
Jan 25, 2021, 3:43:28 PM1/25/21
to Project Canasta
Hi Yaron

Please read my comments inline...

- Is there any way for the database password to be made unique for each installation - either by having the administrator create it, or by making a new random one every time? (This is something I wonder about in general, not just specifically for dataspectsSystemBuilder.)

Answer: Sure. This aspect is part of various details we need to optimize, but which have nothing to do with system component abstraction optimization.
 
- In this code, there is an "APACHE_CONTAINER_NAME" but no corresponding "MYSQL_CONTAINER_NAME" or "PHP_CONTAINER_NAME". Are MySQL and PHP also getting included in the overall image/downloadable? If so, how?

Answer: The database is never accessed directly, but only through the APACHE_CONTAINER_NAME, see line 42 in https://github.com/dataspects/mediawiki-canasta/blob/main/install-distribution-package.sh.

Answer: As seen in https://github.com/dataspects/mediawiki-canasta/blob/main/docker-compose.yml MySQL is a standard image and PHP is contained in dataspects/php-apache:7.4.7_200707 as seen in https://github.com/dataspects/dataspectsSystemBuilder/blob/master/docker-images/php-apache/Dockerfile.
 
- Can the combination of MW + MW extensions and skins + DB (what you call the "CreatorArtefacts") be downloaded on its own, separately from Apache and the rest?

Answer: Yes, Apache and the rest are obtained by docker-compose.yml, whereas MW/MWExtesnions/Skins/DB are all contained in e.g. mediawiki-root-w-folder-1.35.1-3.2.2.tar.gz.

Lex Sulzer

unread,
Jan 26, 2021, 6:01:34 AM1/26/21
to Project Canasta

Yaron Koren

unread,
Jan 26, 2021, 9:26:00 AM1/26/21
to Lex Sulzer, Project Canasta
Thank you, Lex! Those answers are quite helpful. And creating a new repository which (I think) isolates just the parts of the dataspectsSystemBuilder that are relevant to this project also makes this approach easier to understand.


For more options, visit https://groups.google.com/d/optout.

Lex Sulzer

unread,
Jan 27, 2021, 9:06:40 AM1/27/21
to Project Canasta
Added Snapshooting (Backup/Restore): https://github.com/dataspects/mediawiki-canasta

Lex Sulzer

unread,
Jan 28, 2021, 3:45:23 AM1/28/21
to Project Canasta
Reply all
Reply to author
Forward
0 new messages