Skip to content

Update to 5.2.x #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 5/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:alpine

ENV TIDDLYWIKI_VERSION=5.1.23
ENV TIDDLYWIKI_VERSION=5.2.3

ARG SOURCE_COMMIT
LABEL maintainer="Aaron Bull Schaefer <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2018-2021, Aaron Bull Schaefer <[email protected]>
Copyright (c) 2018-2022, Aaron Bull Schaefer <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Supported tags and respective `Dockerfile` links

- [`5.1.23`, `5.1`, `5`, `latest` (*5/Dockerfile*)](https://github.com/elasticdog/tiddlywiki-docker/blob/master/5/Dockerfile)
- [`5.1.22` (*5/Dockerfile* @ 3e4df0f)](https://github.com/elasticdog/tiddlywiki-docker/blob/3e4df0f8a33db4fac6724ada969705c1622a5af0/5/Dockerfile)
- [`5.1.21` (*5/Dockerfile* @ 5368ab2)](https://github.com/elasticdog/tiddlywiki-docker/blob/5368ab2480dd98dfdbd611e6344e2d6e3c389369/5/Dockerfile)
- [`5.1.19` (*5/Dockerfile* @ a29642c)](https://github.com/elasticdog/tiddlywiki-docker/blob/a29642cab96186390b6866e45f56cd74807c39ba/5/Dockerfile)
- [`5.1.18` (*5/Dockerfile* @ 2ead91d)](https://github.com/elasticdog/tiddlywiki-docker/blob/2ead91df276b99724e795c96cdd59e26c367d8d9/5/Dockerfile)
- [`5.1.17` (*5/Dockerfile* @ fdac15a)](https://github.com/elasticdog/tiddlywiki-docker/blob/fdac15a3a930365c98e3474492465e77e0148c55/5/Dockerfile)
- [`5.2.3`, `5.2`, `5`, `latest` (*5/Dockerfile*)](https://github.com/elasticdog/tiddlywiki-docker/blob/master/5/Dockerfile)
- [`5.2.1`](https://github.com/elasticdog/tiddlywiki-docker/blob/5.2.2/5/Dockerfile)
- [`5.2.1`](https://github.com/elasticdog/tiddlywiki-docker/blob/5.2.1/5/Dockerfile)
- [`5.2.0`](https://github.com/elasticdog/tiddlywiki-docker/blob/5.2.0/5/Dockerfile)
- [`5.1.23` `5.1`](https://github.com/elasticdog/tiddlywiki-docker/blob/5.1.23/5/Dockerfile)
- [`5.1.22`](https://github.com/elasticdog/tiddlywiki-docker/blob/5.1.22/5/Dockerfile)
- [`5.1.21`https://github.com/elasticdog/tiddlywiki-docker/blob/5.1.21/5/Dockerfile)
- [`5.1.19`](https://github.com/elasticdog/tiddlywiki-docker/blob/5.1.19/5/Dockerfile)
- [`5.1.18`](https://github.com/elasticdog/tiddlywiki-docker/blob/5.1.18/5/Dockerfile)
- [`5.1.17`](https://github.com/elasticdog/tiddlywiki-docker/blob/5.1.17/5/Dockerfile)

## TiddlyWiki Docker

Expand All @@ -28,13 +32,13 @@ These Docker images are meant to replicate the functionality of the `tiddlywiki`

That said, there are a few caveats to consider when using a Docker-ized version of this command:

- **Port Publishing**
- **Port Publishing**
The _Dockerfile_ exposes port 8080 from the container, but you must bind to `0.0.0.0` rather than the default `127.0.0.1` (localhost) when running the HTTP server interface, or connectivity won't work from the host.

- **Data Persistence**
- **Data Persistence**
If you actually want to persist your tiddlers, you'll need to [get them out of the container][]; you can use either volumes or bind mounts. In the container, there is a predefined data volume under `/tiddlywiki` that is used as the default working directory.

- **Ownership Permissions**
- **Ownership Permissions**
If you do use a _bind mount_, don't forget that the process running within the **container** will change the **host** filesystem. You should run the container with the `--user` option so that files are created with the desired ownership.

To facilitate handling these things, you can write short wrapper scripts for common scenarios...
Expand Down