purtyb1tch92 / tzurl

This project implements conversion of IANA tzdata into iCalendar VTIMEZONE objects

Home Page:http://tzurl.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tzurl - zoneinfo in VTIMEZONE format

This project is a fork of the vzic project, which implements conversion of Olson tzdata into iCalendar VTIMEZONE objects.

The original vzic readme is available here. Ultimately the conversion code is largely unchanged. This project adds the capability to serve the VTIMEZONE objects from an Apache web server.

Build

Docker

docker build --tag tzurl .

Running in Docker

A Docker image has been created from this project and can be run as follows:

docker run --rm -it -p 80:80 benfortuna/tzurl

HAProxy

A docker-compose configuration is provided that will run Apache HTTPD behind an HAProxy load balancer. This allows for scaling multiple Apache instances, etc. Examples follow.

$ docker-compose build && docker-compose up # run a single httpd instance behind haproxy

$ docker-compose scale tzurl=2 && docker-compose up # run two httpd instance load-balanced

Syslog

RSyslog is supported in HAProxy. Examples below.

$ docker-compose run -d -e RSYSLOG_DESTINATION=<syslog_host:port> haproxy && docker-compose up

$ docker-compose scale tzurl=2 && docker-compose run --service-ports -d -e RSYSLOG_DESTINATION=<syslog_host:port> haproxy

AWStats

About

This project implements conversion of IANA tzdata into iCalendar VTIMEZONE objects

http://tzurl.org

License:GNU General Public License v2.0


Languages

Language:C 86.7%Language:Perl 8.9%Language:Makefile 1.8%Language:Shell 1.1%Language:HTML 0.6%Language:HCL 0.5%Language:Dockerfile 0.4%