{"id":24568913,"url":"https://github.com/bitliner/static-node-2","last_synced_at":"2025-03-17T05:27:53.949Z","repository":{"id":28794514,"uuid":"32317433","full_name":"bitliner/static-node-2","owner":"bitliner","description":"Docker image of nodejs app to host static sites","archived":false,"fork":false,"pushed_at":"2015-03-18T14:07:12.000Z","size":824,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T14:55:40.881Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/bitliner.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":"2015-03-16T10:26:34.000Z","updated_at":"2015-03-18T14:07:13.000Z","dependencies_parsed_at":"2022-09-01T23:51:25.181Z","dependency_job_id":null,"html_url":"https://github.com/bitliner/static-node-2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitliner%2Fstatic-node-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitliner%2Fstatic-node-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitliner%2Fstatic-node-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitliner%2Fstatic-node-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitliner","download_url":"https://codeload.github.com/bitliner/static-node-2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243978968,"owners_count":20378129,"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":"2025-01-23T14:55:45.314Z","updated_at":"2025-03-17T05:27:53.922Z","avatar_url":"https://github.com/bitliner.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# static-node-2\nDocker image of nodejs app to host static sites\n\n## Usage with docker-compose\n\n1. Create a fig.yml or docker-compose.yml (install docker-compose if you did not do it yet)\n2. Set ports parameter specifying the port to bind to port 80 of the container\n3. specify volumes: specifically folder for logs and folder containing static file \n4. run `docker-compose up -d`\n\nNo need to write some server logic! It is already included in the container.\n\n\n```\nfrontend:\n  image: bitliner/static-node-2\n  mem_limit: 512m\n  ports:\n    - 9001:80\n  volumes:\n    - ./public:/usr/src/app/dist\n    - ./logs:/usr/src/app/logs\n\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitliner%2Fstatic-node-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitliner%2Fstatic-node-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitliner%2Fstatic-node-2/lists"}