Public Holiday Api | https://github.com/nager/Nager.Date
500K+
Nager.Date is a simple, lightweight, and scalable open-source solution to query public holidays for over 200 countries.
The project provides a REST interface to retrieve the data. This Docker container provides a web api with a web interface that allows you to query the holidays.
docker run -p 8080:8080 -e LICENSE_KEY=YOUR_LICENSE_KEY nager/nager-date
Once running, access the Web Interface at:
š http://localhost:8080
| Variable | Description | Required | Default |
|---|---|---|---|
LICENSE_KEY | Your Nager.Date license key to authenticate API usage. | Yes | ā |
ASPNETCORE_ENVIRONMENT | Set runtime environment (e.g., Production, Development). | No | Production |
Easily spin up the service using docker-compose.yml:
services:
nager-date:
image: nager/nager-date:latest
container_name: nager-date
ports:
- "8080:8080"
environment:
- LICENSE_KEY=YOUR_LICENSE_KEY
restart: unless-stopped
Content type
Image
Digest
sha256:4e7ca3939ā¦
Size
68.8 MB
Last updated
3 days ago
docker pull nager/nager-date