Skip to content

Commit

Permalink
Bump femiwiki docker image (#336)
Browse files Browse the repository at this point in the history
* Bump femiwiki docker image

* remove exported hotfixes

* move secret to secrets

---------

Co-authored-by: lens0021 <[email protected]>
  • Loading branch information
femiwiki-bot and lens0021 authored Oct 13, 2024
1 parent ea7a57e commit b6a77b8
Showing 1 changed file with 4 additions and 34 deletions.
38 changes: 4 additions & 34 deletions jobs/fastcgi.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ job "fastcgi" {
}

config {
image = "ghcr.io/femiwiki/femiwiki:2024-09-22T15-15-1b0492d6"
image = "ghcr.io/femiwiki/femiwiki:2024-10-13T04-16-27c2757d"

volumes = [
"local/opcache-recommended.ini:/usr/local/etc/php/conf.d/opcache-recommended.ini",
Expand All @@ -140,7 +140,7 @@ job "fastcgi" {
"local/www.conf:/usr/local/etc/php-fpm.d/www.conf",
"local/AdoyFastCgiClient.php:/srv/fcgi-check/AdoyFastCgiClient.php",
"local/fcgi-probe.php:/srv/fcgi-check/fcgi-probe.php",
"secrets/secrets.php:/a/secret.php",
"secrets/secrets.php:/a/secrets.php",
"secrets/analytics-credentials-file.json:/a/analytics-credentials-file.json",
# Overwrite the default Hotfix.php provided by femiwiki/mediawiki
"local/Hotfix.php:/a/Hotfix.php",
Expand Down Expand Up @@ -244,38 +244,7 @@ variable "hotfix" {
* @file
*/
$wgBlockTargetMigrationStage = SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_OLD;
$wgScribuntoEngineConf['luasandbox']['cpuLimit'] = 3;
$wgScribuntoEngineConf['luasandbox']['memoryLimit'] = 52428800; # 50 MiB
$wgAbuseFilterEnableBlockedExternalDomain = true;
$wgGroupPermissions['abusefilter']['abusefilter-modify-blocked-external-domains'] = true;
$wgGroupPermissions['abusefilter']['abusefilter-bypass-blocked-external-domains'] = true;
$wgAutoConfirmAge = 3600;
$wgGroupPermissions['user']['flow-hide'] = false;
$wgGroupPermissions['user']['flow-lock'] = false;
$wgGroupPermissions['user']['editcontentmodel'] = false;
$wgGroupPermissions['user']['move'] = false;
$wgGroupPermissions['autoconfirmed']['flow-hide'] = true;
$wgGroupPermissions['autoconfirmed']['flow-lock'] = true;
$wgGroupPermissions['autoconfirmed']['editcontentmodel'] = true;
$wgGroupPermissions['autoconfirmed']['move'] = true;
$wgGroupPermissions['rollbacker']['rollback'] = true;
$wgBlacklistSettings = [
'spam' => [
'files' => [
"https://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1",
],
],
'email' => [
'files' => [
"https://meta.wikimedia.org/w/index.php?title=Email_blacklist&action=raw&sb_ver=1",
],
],
];
// Maintenance
// 점검이 끝나면 아래 라인 주석처리한 뒤, 아래 문서 내용을 비우면 됨
Expand All @@ -302,6 +271,7 @@ variable "pretrun" {
#!/bin/bash
set -euo pipefail; IFS=$'\n\t'
test -s /a/secret.php
test -s /a/secrets.php
test -s /a/LocalSettings.php
EOF
}

0 comments on commit b6a77b8

Please sign in to comment.