{"id":22242257,"url":"https://github.com/melihacikgoz/caddynano-server-container","last_synced_at":"2026-04-18T04:32:43.172Z","repository":{"id":265921629,"uuid":"896874664","full_name":"melihacikgoz/caddynano-server-container","owner":"melihacikgoz","description":"This guide explains how to host an HTML file using Caddy Server running on a Docker container based on Nano Server.","archived":false,"fork":false,"pushed_at":"2025-01-09T10:19:18.000Z","size":11563,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T10:32:01.589Z","etag":null,"topics":["angular","caddy","caddy-server","container","docker","nanoserver","react","vue"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melihacikgoz.png","metadata":{"files":{"readme":"README-tr.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-01T14:18:15.000Z","updated_at":"2025-01-09T10:19:22.000Z","dependencies_parsed_at":"2024-12-01T15:27:49.680Z","dependency_job_id":"eb83171a-70ef-4761-a95a-15357ee683f5","html_url":"https://github.com/melihacikgoz/caddynano-server-container","commit_stats":null,"previous_names":["melihacikgoz/caddynano-server-container"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/melihacikgoz/caddynano-server-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihacikgoz%2Fcaddynano-server-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihacikgoz%2Fcaddynano-server-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihacikgoz%2Fcaddynano-server-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihacikgoz%2Fcaddynano-server-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melihacikgoz","download_url":"https://codeload.github.com/melihacikgoz/caddynano-server-container/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melihacikgoz%2Fcaddynano-server-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31956909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","caddy","caddy-server","container","docker","nanoserver","react","vue"],"created_at":"2024-12-03T04:15:13.764Z","updated_at":"2026-04-18T04:32:38.161Z","avatar_url":"https://github.com/melihacikgoz.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"Nano Server Üzerinde Caddy Server ile Docker Image Geçişi\n\n1. Giriş\n\nNano Server, Windows Server’ın minimal bir sürümüdür ve özellikle container uygulamaları için optimize edilmiştir. Bu dokümanda, daha önce Server Core üzerinde çalışan bir Docker imajını, daha hafif ve bağımsız bir çözüm olan Caddy Server ile Nano Server üzerinde çalışacak şekilde nasıl dönüştürdüğümüzü açıklıyoruz.\n\n2. Caddy Server ve Nano Server Avantajları\n\nCaddy Server Avantajları\n\n\t•\tKolay Kurulum: Tek bir ikili dosya ile çalışır.\n\t•\tOtomatik HTTPS: Let’s Encrypt entegrasyonu ile otomatik TLS sertifikası sağlar.\n\t•\tMinimal Bağımlılık: Ekstra modüller veya paketler gerektirmez.\n\t•\tKonfigürasyon Kolaylığı: Basit ve okunabilir Caddyfile ile yapılandırma.\n\nNano Server Avantajları\n\n\t•\tHafiflik: Server Core’a kıyasla çok daha küçük boyutludur.\n\t•\tDaha Az Yüzey Alanı: Güvenlik tehditlerine karşı daha az yüzey alanı sunar.\n\t•\tDaha Az Bağımlılık: Gereksiz servisleri ve komponentleri içermez.\n\t•\tDocker Uyumluluğu: Özellikle konteyner uygulamaları için tasarlanmıştır.\n\n\n3. Geçiş Süreci\n\n3.1. Ön Gereksinimler\n\n\t•\tWindows 10/11 veya Windows Server 2019/2022\n\t•\tDocker Desktop veya Docker Engine\n\t•\tNano Server imajı: mcr.microsoft.com/windows/nanoserver\n\t•\tCaddy Server binary dosyası: Caddy Releases\n\n3.2. Server Core’daki Sorunlar\n\n\t•\tNginx bağımlılıkları: Çoğu konfigürasyon için ek modüller ve kitaplıklar gerektirir.\n\t•\tYüksek boyut: Server Core imajları genellikle birkaç GB boyutundadır.\n\t•\tKarmaşık yapılandırma: Nginx’in ileri düzey konfigürasyon ihtiyaçları.\n\n\n4. Performans ve Depolama Karşılaştırması\n\n  • Nano Server ve Caddy Server kullanımı, özellikle hafif Docker konteynerlerine ihtiyaç duyan uygulamalar için idealdir. Ayrıca, Nginx’in kompleks yapılandırma gereksinimlerinden kurtulmanızı sağlar.\n\n5. Sonuç\n\nNano Server ve Caddy Server kombinasyonu, Docker konteyner projeleri için önemli avantajlar sunmaktadır. Geçiş sürecinde dikkat edilmesi gerekenler:\n\t1.\tNano Server imajının mevcut uygulama gereksinimlerini karşıladığından emin olun.\n\t2.\tCaddy Server’ın HTTPS sertifikalarını otomatik yönetebilmesi için gerekli dış erişim izinlerini sağlayın.\n\nBu geçiş sayesinde, hem depolama alanından tasarruf sağlanır hem de uygulamanın bakım maliyetleri düşürülür.\n\n## Nasıl Çalıştırılır?\n\nBirinci Adım:\n\ndocker build -t caddynano-server .\n\nİkinci Adım:\n\ndocker run -d -p 80:80 -p 443:443 caddynano-server\n\n## Uygulamaya Erişim\n\nKonteyner çalıştırıldıktan sonra tarayıcınızı açın ve aşağıdaki adreslere gidin:\n\t•\thttp://localhost:80\n\t•\thttps://localhost\n\nEğer HTTPS gerekiyorsa, mutlaka bir sertifika yüklenmelidir. Sertifika oluşturmak ve yönetmek için OpenSSL desteklenmektedir.\n\nBu URL’ler, Docker konteyneri içinde çalışan uygulamaya yönlendirecektir.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelihacikgoz%2Fcaddynano-server-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelihacikgoz%2Fcaddynano-server-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelihacikgoz%2Fcaddynano-server-container/lists"}