mark-when / markwhen

Make a cascading timeline from markdown-like text. Supports simple American/European date styles, ISO8601, images, links, locations, and more.
https://markwhen.com
MIT License
3.56k stars 126 forks source link

Dockerhub #133

Open accforgithubtest opened 1 year ago

accforgithubtest commented 1 year ago

Would be great to have a docker image published on to dockerhub. A quick search did not show any images there. Is there a plan to publish to dockerhub ?

pl4nty commented 1 year ago

I've published an image at ghcr.io/pl4nty/markwhen:latest

accforgithubtest commented 1 year ago

thanks @pl4nty !

Would I be correct in assuming that everything needed to render the calendar / timeline / etc are packaged into this single image ? I see on the read me that selfhosted versions needs to host the views separately - does this mean calendar, timeline, parser, viewclient, etc needs to be hosted on local ?

Can you pls provide an docker compose example, that can get the calendar / timeline / etc all working via docker ?

pl4nty commented 1 year ago

@accforgithubtest this repo only includes the timeline. if you want other views you'll need to build/host them, update useViewProviders, and build your own image. this is covered in the readme

pl4nty commented 1 year ago

Seems like views can be added from the UI too, but I can't find that option when running locally

accforgithubtest commented 1 year ago

I just added comments to an related issue - https://github.com/mark-when/markwhen/issues/71#issuecomment-1707355584

accforgithubtest commented 7 months ago

hey @pl4nty - can you pls share the dockerfile you used, so I can try something similar for the other views ?

pl4nty commented 7 months ago

@accforgithubtest I think I just used https://github.com/mark-when/markwhen/blob/25779d9238477ec76eb988a0c6a0af754fdf624e/Dockerfile with the timeline

accforgithubtest commented 7 months ago

thanks for the quick reply @pl4nty !