Files
oracle/my/Rocky_Linux/mazzolino_tiddlywiki.md
2026-03-12 21:23:47 +01:00

752 B

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