Dockerfile for local use FSWiki (FreeStyleWiki) with Markdown Plugin, CSP (Content Security Policy), and LaTeX/MathML rendering using MathJax.
-Wno-incompatible-pointer-types
for gcc version 14.2.0 (Alpine 14.2.0) on Alpine Linux v3.21.fswiki.osdn.jp
to freestylewiki.sourceforge.io
scm.osdn.net/gitroot/fswiki/
to github.com/FreeStyleWiki/
${COMPOSE}
and ${DOCKER_COMPOSE}
to ${ARR_COMPOSE}
and ${ARR_DOCKER_COMPOSE}
, respectively.COMPOSE=docker-compose
to ARR_COMPOSE=("${CONTAINER_CLI}" compose)
theme/kati_dark
volume in docker-compose-multiple.yml.theme/kati.css
to fit the edit-width with the browser.theme/kati_dark
in README.check_versions.sh
to check_ver_in_container.sh
check_versions.sh
shows the version of markdown as well.#!/bin/bash
to #!/usr/bin/env bash
.diffview
securely with CSP (Content Security Policy) Hash in httpd-security-fswiki-local.conf
, plugin/core/Diff.pm
and theme/resources/diff.js
.OWNER_GROUP=www-data:www-data
in .env
, and ${owner_group}
in Dockerfile
docker_build.sh
and docker-compose.yml
, respectively, for owner and group of folders/files accessed by httpd sub-processes.httpd-security-fswiki-local.conf
and Dockerfile
, then made .htaccess
dummy.volumes
(or -v
option) in docker-compose.yml
and run_fswiki_local.sh
, removed theme/
and tmpl/
, and then added theme/kati_dark
only./test.sh
, what to test became selectable.http:
to https:
in ./get_fswiki.sh
.Return to README