{"id":15366875,"url":"https://github.com/cupcakearmy/docker-static","last_synced_at":"2025-06-14T09:32:42.067Z","repository":{"id":96682857,"uuid":"201675802","full_name":"cupcakearmy/docker-static","owner":"cupcakearmy","description":"Static Server","archived":false,"fork":false,"pushed_at":"2024-07-31T19:17:09.000Z","size":32,"stargazers_count":18,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T12:41:16.810Z","etag":null,"topics":["brotli","docker","docker-compose","etag","gzip","nginx","static-server"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/cupcakearmy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":"cupcakearmy","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-08-10T19:46:49.000Z","updated_at":"2025-02-18T20:47:28.000Z","dependencies_parsed_at":"2024-01-22T12:11:37.241Z","dependency_job_id":"7574255d-1f72-4825-8885-8d2f96723785","html_url":"https://github.com/cupcakearmy/docker-static","commit_stats":{"total_commits":34,"total_committers":3,"mean_commits":"11.333333333333334","dds":"0.11764705882352944","last_synced_commit":"cf34f14778dd36c796ec3c9a4e7f9410a021528d"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cupcakearmy/docker-static","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cupcakearmy%2Fdocker-static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cupcakearmy%2Fdocker-static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cupcakearmy%2Fdocker-static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cupcakearmy%2Fdocker-static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cupcakearmy","download_url":"https://codeload.github.com/cupcakearmy/docker-static/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cupcakearmy%2Fdocker-static/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259794036,"owners_count":22912234,"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":["brotli","docker","docker-compose","etag","gzip","nginx","static-server"],"created_at":"2024-10-01T13:20:07.040Z","updated_at":"2025-06-14T09:32:42.029Z","avatar_url":"https://github.com/cupcakearmy.png","language":"TypeScript","readme":"# NGINX Static Server\n\n![Docker Pulls](https://img.shields.io/docker/pulls/cupcakearmy/static?style=flat-square)\n![Docker Image Size (tag)](https://img.shields.io/docker/image-size/cupcakearmy/static/latest?style=flat-square)\n![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/cupcakearmy/static/latest?style=flat-square)\n\nThis is a little docker image for hosting static content efficiently.\n**Supports ETags \u0026 Brotli/GZip** compression out of the box.\n\nAutomatically builds the latest mainline and stable releases weekly.\n\n## Features\n\n- Brotli \u0026 GZip\n- ETag\n- No server tokens\n\n## Tags\n\nTags follow the official nginx naming convention.\n\n- `mainline`, same as `latest`\n- `stable`\n- Specific version\n\n## Quickstart 🚀\n\n```yaml\n# docker-compose.yml\nversion: '3.7'\n\nservices:\n  server:\n    image: cupcakearmy/static\n    restart: unless-stopped\n    ports:\n      - 80:80\n    volumes:\n      - ./public:/srv:ro\n```\n\n```bash\ndocker-compose up -d\n```\n\n### Custom Configuration\n\n```\n# my.conf\nserver {\n    listen 80;\n    server_name _;\n\n    location / {\n        root   /srv;\n        try_files $uri /index.html =404;\n    }\n}\n```\n\n```yaml\nversion: '3.7'\n\nservices:\n  server:\n    # ...\n    volumes:\n      - ./my.conf:/usr/local/nginx/conf/sites/default.conf\n    # ...\n```\n","funding_links":["https://github.com/sponsors/cupcakearmy"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcupcakearmy%2Fdocker-static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcupcakearmy%2Fdocker-static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcupcakearmy%2Fdocker-static/lists"}