2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
# Get basic docker image
docker pull mazzolino/tiddlywiki
# Customize the image upgrading tiddlywiki
Create persistent directory:
mkdir -p /app/persistent_docker/tiddlywiki
Create `Dockerfile`:
FROM mazzolino/tiddlywiki:latest
MAINTAINER Valeriu PLESNILA
RUN npm update -g tiddlywiki
Build new image `my_tiddlywiki`:
docker build -t my_tiddlywiki .
Create `docker-compose.yaml` file:
services:
wiki:
image: my_tiddlywiki
restart: always
environment:
- USERNAME=*****
- PASSWORD=*****
ports:
- 8080:8080
volumes:
- /app/persistent_docker/tiddlywiki:/var/lib/tiddlywiki
# Create and run the container:
docker-compose up -d