Sign inSign up

11notes/ics-view

By 11notes

•Updated over 3 years ago

Run open-web-calendar based on Alpine Linux. Small, lightweight, secure and fast 🏔️

Image
0

1.8K

11notes/ics-view repository overview

⁠Alpine :: ics-view

Run open-web-calendar (web view for ics) based on Alpine Linux. Small, lightweight, secure and fast 🏔️

Calendar View

⁠Volumes

  • /ics/etc - Directory of json configuration files for different views

⁠Run

docker run --name ics-view \
  -v .../etc:/ics/etc \
  -d 11notes/ics-view:[tag]

⁠Defaults

ParameterValueDescription
userdockeruser docker
uid1000user id 1000
gid1000group id 1000

⁠Environment

ParameterValueDefault
ICS_IPlocalhost or 127.0.0.1 or a dedicated IP0.0.0.0
ICS_PORTany port > 10245000
ICS_MAX_PER_VIEWHow many calendars (*.ics feeds) are allowed to be loaded at once5
ICS_WORKERSHow many workers should be started to handle requests4
ICS_CACHE_LIFETIMEHow long *.ics feed are cached between requests in seconds60
ICS_VIEW_DHTMLX_ENABLE_PLUGINSEnabled DHTMLX plugins"agenda_view multisource quick_info tooltip readonly"
ICS_VIEW_DHTMLX_DISABLE_PLUGINSDisabled DHTMLX plugins""
ICS_DEBUGEnable debug modefalse

⁠Configuration

You can place different configuration json files in /ics/etc and use the directly via URL (you do not need to add .json, just the file name)

http://localhost:5000/?calendar=demo // will use demo.json in /ics/etc
http://localhost:5000/?calendar=https://domain.com/foo/demo.json

⁠DHTMLX Plugins

You can find a list of all available plugins here⁠. To use additional plugins simply add them to the desired environment variable. The example will add the plugin all_timed and year_view and remove the plugin recurring from being used.

docker run --name ics-view \
  -v .../etc:/ics/etc \
  -e ICS_VIEW_DHTMLX_ENABLE_PLUGINS="agenda_view multisource quick_info tooltip readonly all_timed year_view" \
  -e ICS_VIEW_DHTMLX_DISABLE_PLUGINS="recurring" \
  -d 11notes/ics-view:[tag]

⁠CSS tricks

If you add ?calendarID=NAME at the end of the URL of your *.ics calendar you can use this NAME in a css selector to colour each *.ics calendar differently

[event_id^="christian"],
[event_id^="christian"] div {background-color:#FF0000 !important; color:#FFFFFF !important;}

⁠Parent

⁠Built with

⁠Tips

  • Don't bind to ports < 1024 (requires root), use NAT/reverse proxy
  • Permanent Stroage⁠ - Module to store permanent container data via NFS/CIFS and more

Tag summary

Content type

Image

Digest

sha256:7aede4919…

Size

55.6 MB

Last updated

over 3 years ago

docker pull 11notes/ics-view:stable