Skip to content

wetfish/wiki

Folders and files

NameName
Last commit message
Last commit date
Jul 4, 2023
Mar 2, 2024
Jun 3, 2023
Jun 3, 2023
Nov 15, 2024
Jun 6, 2023
Nov 8, 2023
Mar 2, 2024
Mar 2, 2024
Jun 6, 2023
Mar 2, 2024
Jan 27, 2025
Jun 5, 2023
Jun 10, 2023

Repository files navigation

How do I deploy this container stack?

See https://github.com/wetfish/production-manifests for production deployment and full stack dev env info.

For development, to run just this stack, do

cp mariadb.env.example mariadb.env
# -> edit, change passwords and other info as needed
cp php.env.example php.env
# -> edit, change db info to match mariadb, other passwords as needed

# in dev env, run npm install manually
cd wwwroot/src && npm install

docker compose \
  -f docker-compose.dev.yml \
  up -d \
  --build \
  --force-recreate

docker compose -f docker-compose.dev.yml logs -f

The service will be available at http://127.0.0.1:2405

If you'd like, /etc/hosts wiki.wetfish.net.local to 127.0.0.1 and browse to that.

To get search, tags, etc to work

Open your local wiki in a browser, and edit the page source

  • Popular
left,load{popular.php}
  • Browse
load{fun/browse.php}
  • Search
load{search.php}
  • Tags
load{src/pages/tags.php} 
 
 
See also {{tag cloud}}!