{"id":21974414,"url":"https://github.com/abdes/submodule-docker-dev-workflow-web","last_synced_at":"2026-05-17T17:03:15.124Z","repository":{"id":120155517,"uuid":"63487138","full_name":"abdes/submodule-docker-dev-workflow-web","owner":"abdes","description":"Web front-end submodule for the example application using the git submodules and docker development workflow (submodule-docker-dev-workflow)","archived":false,"fork":false,"pushed_at":"2016-07-16T16:24:52.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T23:41:24.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/abdes.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":"2016-07-16T14:41:34.000Z","updated_at":"2016-07-16T16:30:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"38381303-853c-4e0e-9dfe-cc695b0c0383","html_url":"https://github.com/abdes/submodule-docker-dev-workflow-web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abdes/submodule-docker-dev-workflow-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdes%2Fsubmodule-docker-dev-workflow-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdes%2Fsubmodule-docker-dev-workflow-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdes%2Fsubmodule-docker-dev-workflow-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdes%2Fsubmodule-docker-dev-workflow-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdes","download_url":"https://codeload.github.com/abdes/submodule-docker-dev-workflow-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdes%2Fsubmodule-docker-dev-workflow-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278322145,"owners_count":25967874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"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":[],"created_at":"2024-11-29T15:45:14.136Z","updated_at":"2025-10-04T14:04:53.960Z","avatar_url":"https://github.com/abdes.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web site submodule for the example app using the git submodule and docker developer workflow\n\nsee the top-level project at [https://github.com/abdes/submodule-docker-dev-workflow](https://github.com/abdes/submodule-docker-dev-workflow)\n\nThis is a static web site example. It is part of the overall example system to\ndemonstrate the use of git submodules and docker to simplify and optimize the\ndeveloper workflow.\n\nAt runtime, the web site is [dockerized](http://www.docker.com) to run within\na container based on [nginx](https://www.nginx.com). The requests are fronted by\na [nginx](https://www.nginx.com) reverse proxy, also running in a docker container.\n\n## Module structure\n\n```\n├── LICENSE\n├── README.md\n├── nginx\n│   ├── conf.d\n│   │   └── default.conf\n│   └── nginx.conf\n└── public\n    ├── 404.html\n    ├── assets\n    │   ├── css\n    │   ├── fonts\n    │   ├── images\n    │   │   └── favicon.ico\n    │   └── js\n    └── index.html\n```\n\nThe submodule contains two parts:\n1. nginx: configuration files for nginx web server\n2. public: the web site html files and assets (images, css, fonts, js)\n\nBoth folders are mounted at runtime by the docker container to provide the\nconfiguration files to nginx and the web site root.\n\n## nginx configuration\n\nTwo files are provided for nginx configuration:\n* nginx.conf: the main server configuration file\n* conf.d/default.conf: default configuration for nginx servers\n\nThe default configuration defines aliases to streamline access to the assets by\nsimply referring to them from the web site root. For example, to embed abc.png\nfrom the images assets folder, you can simply use: ``/images/abc.png`.\n\nThe configuration only support HTTP on port 80 (which will be mapped to a\ndifferent external port in the docker container). HTTPS can be easily added\nfollowing the [nginx documentation](http://nginx.org/en/docs/http/configuring_https_servers.html).\nKeys and certificates will need to be added to this submodule and mounted\nas a volume in the docker container for access by nginx.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdes%2Fsubmodule-docker-dev-workflow-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdes%2Fsubmodule-docker-dev-workflow-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdes%2Fsubmodule-docker-dev-workflow-web/lists"}