README.md

January 6, 2026 ยท View on GitHub

Amusewiki Docker

rojen/amusewiki:package rojen/amusewiki:texlive-minimal rojen/amusewiki:texlive-base rojen/amusewiki:texlive-full

Quickly deploy a demo on Play With Docker

Try in PWD

Click the button above then click start, wait for it to deploy. Then click 80.

  • The default username is: amusewiki
  • The default password is: changeme

Tags

Environment Variables

NameRequiredDescription
POST_DOMAINNoChange initial or selected domain
CHANGE_DOMAIN_BY_IDNoDefault is initial domain: 1
CONTAINER_IS_BEHIND_HTTPS_TRAEFIKNoSetting this to true will enable HTTPS Traefik support
AMW_WORKERSNoSpecify number of process set by script/init-fcgi.pl
AMW_NPROCNoSpecify number of perl-fcgi process
CHANGE_PASSWORD_BEFORE_RUNNoSetting this to true will enable password changing
AMW_USERNAMENoSet username
AMW_PASSWORDNoSet password
HOST_SSH_PUBLIC_KEYNoAuthorize host ssh public key
GENERATE_NEW_SSH_KEYNoSetting thist to true will crate new ssh key
NGX_PREFIXNoamusewikidebian or amusewiki
AMUSEWIKI_SWITCH_BRANCHNoSwitch to given branch before run (texlive-minimal, texlive-base, texlive-full)
CREATE_MISSING_STAGING_FILESNoSetting this to true will create missing staging files
AMW_SQLITE_PATHNoDefault is /var/lib/dbconfig-common/sqlite3/amusewiki/amusewiki
UPDATE_AMUSEWIKINoSetting this to true will update/pull amusewiki before start
OTHER_VOLUMES_USED_IN_CONTAINERNoSet the container path of your custom volumes. Commands like chown, backup_amw.sh will detect these objects. Example: /var/lib/amusewiki/log, /var/lib/amusewiki/ssl, /var/lib/amusewiki/.ssh
EMAIL_SENDER_TRANSPORTNoSet it to SMTP
EMAIL_SENDER_TRANSPORT_sslNoRequired for most email providers, set it to 1
EMAIL_SENDER_TRANSPORT_hostNoe.g. for Riseup mail.riseup.net
EMAIL_SENDER_TRANSPORT_portNoe.g. for Riseup 465
EMAIL_SENDER_TRANSPORT_sasl_usernameNoe.g. for Riseup yourname@riseup.net
EMAIL_SENDER_TRANSPORT_sasl_passwordNoe.g. for Riseup yourpass

Volumes

Required volumes:

  • /var/lib/amusewiki/repo git
  • /var/lib/amusewiki/thumbnails thumb
  • /var/lib/amusewiki/staging staging
  • /var/lib/dbconfig-common/sqlite3/amusewiki db
  • /etc/nginx/sites-enabled web

Optional volumes: (set OTHER_VOLUMES_USED_IN_CONTAINER to use them)

  • /var/lib/amusewiki/log log
  • /var/lib/amusewiki/ssl ssl
  • /var/lib/amusewiki/.ssh ssh

Quick docker-compose.yml

services:
  app:
    image: rojen/amusewiki:package
    ports:
      - '80:80'
      - '443:443'
    environment:
      - POST_DOMAIN=localhost
      - CHANGE_PASSWORD_BEFORE_RUN=true
      - AMW_USERNAME=amusewiki
      - AMW_PASSWORD=changeme
    volumes:
      - repo:/var/lib/amusewiki/repo
      - thumb:/var/lib/amusewiki/thumbnails
      - staging:/var/lib/amusewiki/staging
      - db:/var/lib/dbconfig-common/sqlite3/amusewiki
      - web:/etc/nginx/sites-enabled
volumes:
  repo:
  thumb:
  staging:
  db:
  web:

Be careful!

This repo use SQLite as a database. Currently MySQL and PostgreSQL are not supported. See: TODO

This image is production ready! Beleive it or not.

How to use?

Read the usage notes and check the example docker-compose.yml files: amusewiki-docker/wiki