{"id":24118070,"url":"https://github.com/citrusprod/docker-compose-starter","last_synced_at":"2026-04-14T04:31:10.649Z","repository":{"id":106223349,"uuid":"299342552","full_name":"CitRUSprod/docker-compose-starter","owner":"CitRUSprod","description":"Starter template for building applications with Docker Compose.","archived":false,"fork":false,"pushed_at":"2025-11-17T19:54:37.000Z","size":624,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-17T21:14:13.857Z","etag":null,"topics":["docker","docker-compose","nginx","typescript"],"latest_commit_sha":null,"homepage":"","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/CitRUSprod.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,"publiccode":null,"codemeta":null}},"created_at":"2020-09-28T14:54:59.000Z","updated_at":"2025-11-17T19:54:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba347f4c-0fb9-477a-ad82-532c8d82783c","html_url":"https://github.com/CitRUSprod/docker-compose-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/CitRUSprod/docker-compose-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CitRUSprod%2Fdocker-compose-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CitRUSprod%2Fdocker-compose-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CitRUSprod%2Fdocker-compose-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CitRUSprod%2Fdocker-compose-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CitRUSprod","download_url":"https://codeload.github.com/CitRUSprod/docker-compose-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CitRUSprod%2Fdocker-compose-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31782736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","docker-compose","nginx","typescript"],"created_at":"2025-01-11T08:17:51.579Z","updated_at":"2026-04-14T04:31:10.644Z","avatar_url":"https://github.com/CitRUSprod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Compose Starter\n\n### Get started\n\n\u003e **NOTE:** Before using this template, you need to install `pnpm` (only for development), `docker` and `docker compose`.\n\nCreate a new project based on this template using `degit`:\n\n```sh\npnpx degit CitRUSprod/docker-compose-starter my-app\ncd my-app\npnpm i\n```\n\nThe launch is done through `docker compose`, but with scripts `scripts/dev` and `scripts/prod`:\n\n```sh\nscripts/dev \u003cdocker compose command\u003e\nscripts/prod \u003cdocker compose command\u003e\n```\n\nRun the project by entering these commands and open http://localhost:6600 in your browser:\n\n```sh\n# Development\nscripts/dev up -d\npnpm dev # or \"cd apps/\u003capp\u003e\" and \"pnpm dev\"\n\n# Production\nscripts/start\n```\n\n### Example of development mode commands\n\n```sh\nscripts/dev up -d # Start\nscripts/dev down # Stop\nscripts/dev logs \u003capp\u003e # View app logs\nscripts/dev exec \u003capp\u003e sh # Enter the app container\nscripts/dev \u003cdocker compose command\u003e # Any docker compose command\n```\n\n### Example of production mode commands\n\n```sh\nscripts/prod up -d # Start\nscripts/prod down # Stop\nscripts/prod logs \u003capp\u003e # View app logs\nscripts/prod exec \u003capp\u003e sh # Enter the app container\nscripts/prod \u003cdocker compose command\u003e # Any docker compose command\n\n# or shortcuts\n\nscripts/start # Start\nscripts/stop # Stop\nscripts/restart # Restart\n```\n\n### First run\n\n##### Development mode\n\n1. Enter this command and edit the `.env` file:\n\n```sh\nscripts/clone-env\n```\n\n2. Start required docker containers for development:\n\n```sh\nscripts/dev up -d\n```\n\n3. Install project dependencies:\n\n```sh\npnpm i\n```\n\n4. Build packages:\n\n```sh\npnpm build\n```\n\n5. Start web and api in development mode:\n\n```sh\npnpm dev\n```\n\n##### Production mode\n\n1. Enter this command and edit the `.env` file:\n\n```sh\nscripts/clone-env\n```\n\n2. Start required docker containers for production:\n\n```sh\nscripts/start\n```\n\nAfter completing all steps, the application will be available at `http://localhost:\u003cWEBSITE_PORT\u003e` (default is http://localhost:6600).\n\n### Project Structure\n\n- `apps` - Applications\n- `packages` - Local libraries\n- `configs` - Configuration files (docker, nginx, etc.)\n- `scripts` - Project management scripts (start, stop, restart, etc.)\n- `storage` - Storage directory for backups and other data that should not be in the repository\n\n### Tools\n\nCommit with `commitizen`:\n\n```sh\npnpm commit\n```\n\nCheck types with `tsc`:\n\n```sh\npnpm check-types\n```\n\nLint with linters:\n\n```sh\npnpm lint\n```\n\nFormat with formatters:\n\n```sh\npnpm format\n```\n\n### Environment variables\n\nAll environment variables are written to the `.env` file. If it doesn't exist, just enter this command:\n\n```sh\nscripts/clone-env\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcitrusprod%2Fdocker-compose-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcitrusprod%2Fdocker-compose-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcitrusprod%2Fdocker-compose-starter/lists"}