Secure, lightweight TiddlyWiki Docker image.
370
This repository provides all necessary files to deploy TiddlyWiki, a non-linear personal web notebook, as a Docker container. The setup process is streamlined, enabling you to quickly get TiddlyWiki running on your system.
deploy.sh script to effortlessly build the Docker image and set up the container.WIKI_NAME and PORT.Before deploying TiddlyWiki, ensure you have the following installed on your machine:
Download the repository containing the deployment files. You can clone it using Git or download it as a ZIP file.
git clone https://github.com/sdev-ch/tiddlywiki-docker.git
cd tiddlywiki-docker
You can download the ZIP file directly from the repository here and extract it to your desired location.
deploy.shNavigate to the project directory: Open a terminal and navigate to the directory containing the downloaded files:
cd path/to/tiddlywiki-docker
Make the script executable: Run the following command to make the deployment script executable:
chmod +x deploy.sh
Run the deployment script: Execute the deployment script using:
./deploy.sh
You will be prompted to enter a username and password for TiddlyWiki access.
Access TiddlyWiki: Open a web browser and navigate to http://localhost:8080 to view the TiddlyWiki interface.
You can customize the TiddlyWiki configuration by setting the following environment variables in the deploy.sh script:
WIKI_NAME: The name of your TiddlyWiki (default: "mywiki").PORT: The port on which TiddlyWiki will run (default: 8080).NODE_MEM: The maximum memory allocated to Node.js (in MB).ROOT_TIDDLER: The name of the root tiddler for saving (default: "$:/core/save/all").RENDER_TYPE: The type of rendering (default: "text/plain").SERVE_TYPE: The content type served (default: "text/html").USERNAME: The username for accessing the wiki (default: "anonymous").PASSWORD: The password for accessing the wiki (default: empty).HOST: The host IP address (default: "0.0.0.0").PATH_PREFIX: The URL path prefix (default: empty).TiddlyWiki stores its data in a Docker volume named tiddlywiki_data, mounted at /var/lib/tiddlywiki. This ensures:
To back up your data, run:
docker run --rm -v tiddlywiki_data:/data busybox tar czf /backup/tiddlywiki_backup.tar.gz -C /data .
Make sure to replace /backup/tiddlywiki_backup.tar.gz with your desired backup path.
If you need to stop or remove the TiddlyWiki container, use:
docker stop tiddlywiki_instance
docker rm tiddlywiki_instance
docker logs tiddlywiki_instance
This project is licensed under the MIT License - see the LICENSE file for details.
Thanks to TiddlyWiki for providing this powerful personal wiki system and to the Docker community for their support and tools that make deployment easier.
Content type
Image
Digest
sha256:e30f9a4f6…
Size
74.6 MB
Last updated
almost 2 years ago
docker pull sdevch/tiddlywiki