Skip to content

ThreatLensAI/static-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static Site hosted with Caddy

This repository contains configurations and html files for a static site hosted with Caddy.

Prerequisites

  • Caddy installed on your machine.

Getting Started

  1. Clone this repository.
  2. (Optional) Setup the env variable CADDY_PORT to the address you want to host the site on. If this is not provided, the config defaults to port 8080. export CADDY_PORT=8080
  3. Run caddy run in the root directory of this repository.

Project Structure

  • Caddyfile: Configuration file for Caddy.
  • index.html: Homepage of the site with team details.
  • Dockerfile: Dockerfile for building the container consisting of static site & Caddy.
  • Jenkinsfile: Jenkins pipeline for building and pushing image of the static site.