- A flexible CDN built with Go, offering granular control over content delivery through configurable filters. Dockerized for easy deployment and scaling.
-
Performance: Handles high request volumes with minimal latency, ensuring a smooth user experience.
-
Scalability: Adapts seamlessly to growing workloads, allowing you to scale your applications effectively.
Before diving in, ensure you have the following:
-
Make: Streamlines build processes.
-
Docker: Simplifies containerized deployments.
git clone https://github.com/4kpros/cdn.git
cd go-cdn/
-
By default, the container uses
.env.example
as a sample environment file. You can directly update this file with your values. However, it would be better to integrate Vault to manage your secrets in your CI/CD pipeline. Or if you user Kubernetes. -
The entry point of the project is
cmd/
folder. In this folder the is themain.go
file.
make docker-cdn
API documentation (using OpenAPI v3.1) at: http://localhost:23100/api/v1/docs