{"id":27146258,"url":"https://github.com/ryands17/production-docker","last_synced_at":"2026-05-07T03:34:09.364Z","repository":{"id":224041910,"uuid":"755977352","full_name":"ryands17/production-docker","owner":"ryands17","description":"A react app from dev to prod with docker and docker compose","archived":false,"fork":false,"pushed_at":"2024-03-05T17:37:45.000Z","size":48,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T10:10:02.581Z","etag":null,"topics":["docker","docker-compose","react"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/ryands17.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-11T16:30:43.000Z","updated_at":"2024-02-11T16:31:10.000Z","dependencies_parsed_at":"2024-03-04T17:29:38.342Z","dependency_job_id":null,"html_url":"https://github.com/ryands17/production-docker","commit_stats":null,"previous_names":["ryands17/production-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryands17/production-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryands17%2Fproduction-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryands17%2Fproduction-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryands17%2Fproduction-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryands17%2Fproduction-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryands17","download_url":"https://codeload.github.com/ryands17/production-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryands17%2Fproduction-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265530737,"owners_count":23783140,"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":["docker","docker-compose","react"],"created_at":"2025-04-08T10:10:13.847Z","updated_at":"2026-05-07T03:34:09.325Z","avatar_url":"https://github.com/ryands17.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React + Vite + Docker\n\nThis template provides a minimal setup to get React working in Vite using Docker and Docker compose for development and production\n\n## Development workflow\n\nTo run the project in dev mode:\n\n```\ndocker compose watch -d\n```\n\nDocker compose automatically watches for changes to files and rebuilds the container if `package.json` changes\n\n```\ndocker compose logs -f web\n```\n\nTo install any NPM package\n\nAdd the package name and version to `package.json`. Docker will automatically install the package and make sure it's synced to the host\n\nTo stop the container\n\n```\ndocker compose down\n```\n\n## Expanding the ESLint configuration\n\nIf you are developing a production application, it's recommended to update the configuration to enable type aware lint rules:\n\n- Configure the top-level `parserOptions` property like this:\n\n```js\nexport default {\n  // other rules...\n  parserOptions: {\n    ecmaVersion: 'latest',\n    sourceType: 'module',\n    project: ['./tsconfig.json', './tsconfig.node.json'],\n    tsconfigRootDir: __dirname,\n  },\n};\n```\n\n- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`\n- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`\n- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` \u0026 `plugin:react/jsx-runtime` to the `extends` list\n\n## Enhancements\n\n- [x] Add replica deployment support for production\n- [x] Add healthcheck for service\n- [x] Add automatic syncing of `pnpm-lock.yaml`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryands17%2Fproduction-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryands17%2Fproduction-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryands17%2Fproduction-docker/lists"}