{"id":20602633,"url":"https://github.com/losinggeneration/openshift-lapis-cartridge","last_synced_at":"2025-04-15T01:54:40.025Z","repository":{"id":14639084,"uuid":"17356729","full_name":"losinggeneration/openshift-lapis-cartridge","owner":"losinggeneration","description":null,"archived":false,"fork":false,"pushed_at":"2015-09-24T07:35:39.000Z","size":4662,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T01:54:29.697Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/losinggeneration.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-03T06:00:46.000Z","updated_at":"2017-11-22T00:12:03.000Z","dependencies_parsed_at":"2022-08-23T17:10:17.581Z","dependency_job_id":null,"html_url":"https://github.com/losinggeneration/openshift-lapis-cartridge","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losinggeneration%2Fopenshift-lapis-cartridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losinggeneration%2Fopenshift-lapis-cartridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losinggeneration%2Fopenshift-lapis-cartridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losinggeneration%2Fopenshift-lapis-cartridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/losinggeneration","download_url":"https://codeload.github.com/losinggeneration/openshift-lapis-cartridge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991540,"owners_count":21194894,"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","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-16T09:14:20.500Z","updated_at":"2025-04-15T01:54:40.004Z","avatar_url":"https://github.com/losinggeneration.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Openshift Lapis Cartridge\n\nA cartridge for openshift that enables Lapis with OpenResty to be used as the web server.\n\n\n### Installation\n\nTo install this cartridge use the cartridge reflector when creating an app\n\n\trhc create-app myapp http://lapis-losinggeneration.rhcloud.com/binary/manifest/0.1.0\n\nAlternatively, to use a more bleeding edge version, you may use\n\n\trhc create-app myapp http://lapis-losinggeneration.rhcloud.com/binary/manifest/master\n\nThe cartridge uses the CDK to build the binaries required for the cartridge. If, for some reason, http://lapis-losinggeneration.rhcloud.com ever goes away or you want to test/make changes, you can create your own CDK application and push this code there and create your own builds.\n\n### Configuration\n\nThe cartridge installs two config files. One at \u003ccode\u003e$OPENSHIFT_LAPIS_DIR/conf/nginx.conf\u003c/code\u003e which gets loaded by the executable\nand sets up specific app configuration such as logs and pid files.\n\nThe config then includes another nginx.conf which must exist at \u003ccode\u003e$OPENSHIFT_REPO_DIR/nginx.conf\u003c/code\u003e. This config should\ncontain all your server specific set up including which ip/port to listen on.\n\nThe repo nginx.conf is actually seen in your repository as \u003ccode\u003enginx.conf.erb\u003c/code\u003e so environment variables can be used\nin the config. Every time the server starts it first processes \u003ccode\u003enginx.conf.erb\u003c/code\u003e.\n\nThe default template assumes your application is app.moon. The .openshift/action_hooks/build will use $MOONC to build app.moon upon push for deployments.\n\nA \u003ccode\u003estatic/\u003c/code\u003e folder is included where static content is served by default. However, as can be seen in the \u003ccode\u003enginx.conf.erb\u003c/code\u003e file it is entirely configurable and only exists as a form of documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosinggeneration%2Fopenshift-lapis-cartridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flosinggeneration%2Fopenshift-lapis-cartridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosinggeneration%2Fopenshift-lapis-cartridge/lists"}