Talk:MediaWiki: Difference between revisions

From NixOS Wiki
Latest comment: 26 May 2021 by Makefu
imported>Vater
m Vater moved page Talk:Mediawiki to Talk:MediaWiki
imported>Vater
Line 2: Line 2:
I am somewhat struggling to get the whole setup running, there are just so many configuration options and it is not clear what actually needs to be done
I am somewhat struggling to get the whole setup running, there are just so many configuration options and it is not clear what actually needs to be done
I was looking for a nixos container setup which gets requests forwarded from the host system but maybe it is enough to have mediawiki listen on the a port != 80  --[[User:Makefu|Makefu]] ([[User talk:Makefu|talk]]) 07:28, 26 May 2021 (UTC)
I was looking for a nixos container setup which gets requests forwarded from the host system but maybe it is enough to have mediawiki listen on the a port != 80  --[[User:Makefu|Makefu]] ([[User talk:Makefu|talk]]) 07:28, 26 May 2021 (UTC)
== configuration examples ==
==== minimal configuration ====
: tested on NixOS 21.11
<!--
: <syntaxhighlight lang="bash">touch /tmp/configuration.nix_services_mediawiki_passwordFile</syntaxhighlight>
<!--
: <syntaxhighlight lang="bash">$EDITOR /run/keys/mediawiki-password</syntaxhighlight>
: <syntaxhighlight lang="bash">cat /run/keys/mediawiki-password</syntaxhighlight>
<!--
<syntaxhighlight lang="bash">
an-initial-password-for-mediawiki-on-a-not-secure-place-to-store-a-password
</syntaxhighlight>
-->
<syntaxhighlight lang="bash">
this-is-an-initial-password-for-mediawiki
</syntaxhighlight>
: <syntaxhighlight lang="bash">$EDITOR /etc/nixos/configuration.nix</syntaxhighlight>
: <syntaxhighlight lang="bash">$EDITOR /tmp/configuration.nix_services_mediawiki_passwordFile</syntaxhighlight>
<syntaxhighlight lang="nix"></syntaxhighlight>
<syntaxhighlight lang="nix">
</syntaxhighlight>
<syntaxhighlight lang="nix"></syntaxhighlight>

Revision as of 08:56, 31 March 2022

Now that there is `services.mediawiki` i think this article needs to be revised. I am somewhat struggling to get the whole setup running, there are just so many configuration options and it is not clear what actually needs to be done I was looking for a nixos container setup which gets requests forwarded from the host system but maybe it is enough to have mediawiki listen on the a port != 80 --Makefu (talk) 07:28, 26 May 2021 (UTC)Reply

configuration examples

minimal configuration

tested on NixOS 21.11
this-is-an-initial-password-for-mediawiki
$EDITOR /etc/nixos/configuration.nix
$EDITOR /tmp/configuration.nix_services_mediawiki_passwordFile