Skip to content

A personal website built with Common Lisp, containerized using Docker Compose, and served through Nginx as a reverse proxy.

License

Notifications You must be signed in to change notification settings

svndin/CL-Docker-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lisp Server with Docker and Nginx

Webpage

This project provides a simple web server written in Common Lisp, running with SBCL and Hunchentoot. The server operates inside a Docker container and is secured with an Nginx reverse proxy.

Project Structure

├── Dockerfile           # Image for the Lisp server
├── docker-compose.yml   # Container orchestration
├── server.lisp          # Main server code in Common Lisp
├── nginx.conf           # Configuration for the Nginx proxy
└── background.js        # Background animation for the webpage

Features

  • Lisp server with Hunchentoot: Serves a simple webpage.
  • Docker containerization: Isolated and secure execution.
  • Nginx proxy: SSL encryption and security hardening.
  • Optimized performance: Nginx is hardened for security and efficiency.

Installation & Startup

Prerequisites

  • Docker and Docker Compose installed

Start the Server

docker-compose up --build -d

Stop the Server

docker-compose down

Security Hardening

  • Nginx:
    • SSL encryption with TLS 1.2/1.3
    • Hidden server information
    • Strict security headers
    • Restriction of HTTP methods
  • Docker containers:
    • no-new-privileges:true
    • cap_drop: ALL
    • tmpfs for temporary files

License

MIT License


Enjoy the project! If you have any questions, feel free to reach out via GitHub.

About

A personal website built with Common Lisp, containerized using Docker Compose, and served through Nginx as a reverse proxy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published