{"id":21179387,"url":"https://github.com/djono/docker-simple-html-viewer","last_synced_at":"2026-04-21T09:32:41.184Z","repository":{"id":206961953,"uuid":"718052132","full_name":"djono/docker-simple-html-viewer","owner":"djono","description":"This docker container is intended for viewing html files only.","archived":false,"fork":false,"pushed_at":"2023-11-16T14:14:29.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-26T17:26:44.335Z","etag":null,"topics":["docker","docker-compose","docker-container","html","html-css-javascript","html-template","simple","viewer"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/djono.png","metadata":{"files":{"readme":"README.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":"2023-11-13T09:21:20.000Z","updated_at":"2023-11-16T14:14:33.000Z","dependencies_parsed_at":"2023-11-16T15:44:51.901Z","dependency_job_id":null,"html_url":"https://github.com/djono/docker-simple-html-viewer","commit_stats":null,"previous_names":["djono/docker-simple-html-viewer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/djono/docker-simple-html-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djono%2Fdocker-simple-html-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djono%2Fdocker-simple-html-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djono%2Fdocker-simple-html-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djono%2Fdocker-simple-html-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djono","download_url":"https://codeload.github.com/djono/docker-simple-html-viewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djono%2Fdocker-simple-html-viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32085478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","docker-compose","docker-container","html","html-css-javascript","html-template","simple","viewer"],"created_at":"2024-11-20T17:30:11.182Z","updated_at":"2026-04-21T09:32:41.128Z","avatar_url":"https://github.com/djono.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Docker Simple HTML Viewer\n\n### Introduction\nThis docker container is intended for viewing html files only.  \nYou can use this docker to running simple html, html templates, react templates and many more.\n\n### Pre-Requisites\n- [Docker](https://docs.docker.com/get-docker/)\n- [Docker Compose](https://docs.docker.com/compose/install/)\n- [Git](https://git-scm.com/downloads)\n\n### Clone this repository\n```\n$ git clone https://github.com/djono/docker-simple-html-viewer.git\n```\n\nProject structure:\n```\n.\n├── README.md\n├── compose.yaml\n├── build\n│   └── Dockerfile\n├── config\n│   └── apache2\n└── html\n    └── index.html\n```\n**README.md** - This instructions file\n\n[**compose.yaml**](compose.yaml)\n```\nservices:\n  web:\n    build:\n      context: build\n      target: builder\n    container_name: \"MAZJOHN-HTML-VIEWER\"\n    ports: \n      - '8080:80'\n    volumes:\n      - ./html:/var/www/html/\n      - ./config/apache2:/etc/apache2/\n```\n\n**build** - Directory with Dockerfile for building the image.  \n[**Dockerfile**](build/Dockerfile) - for building the image.  \n**config** - Directory with apache2 and Others configuration file.  \n**apache2** - Directory with apache2 configuration file. You can set your own configuration here.  \n[**000-default.conf**](config/apache2/sites-available/000-default.conf) - You can set your own web server configuration here.\n[**default-ssl.conf**](config/apache2/sites-available/default-ssl.conf) - You can set your own web server with ssl protocol configuration here.\n**html** - Put your awesome HTML files over here.  \n[**index.html**](html/index.html) - Sample html file.\n\n### Deploy with docker compose\n\n```\n$ docker-compose up -d\n```\n\nAfter the application starts, navigate to `http://localhost:8080` in your web browser or run:\n```\n$ curl localhost:80\n```\n\nStop and remove the containers\n```\n$ docker-compose down\n```\nThat's it and have fun.   \nby [mazjohn.com](https://mazjohn.com)\n\nLicense\n----\n[MIT License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjono%2Fdocker-simple-html-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjono%2Fdocker-simple-html-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjono%2Fdocker-simple-html-viewer/lists"}