{"id":35570588,"url":"https://github.com/specvital/infra","last_synced_at":"2026-01-13T23:03:11.129Z","repository":{"id":327927075,"uuid":"1112074680","full_name":"specvital/infra","owner":"specvital","description":"🏗️ Local development infrastructure and PostgreSQL schema management using Docker and Atlas migrations.","archived":false,"fork":false,"pushed_at":"2026-01-12T15:34:13.000Z","size":777,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-12T21:37:57.851Z","etag":null,"topics":["atlas","database-migrations","devops","docker","infrastructure","postgresql","redis"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/specvital.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["KubrickCode"],"buy_me_a_coffee":"KubrickCode","custom":["https://qr.kakaopay.com/FD9MRukP9"]}},"created_at":"2025-12-08T05:41:39.000Z","updated_at":"2026-01-12T15:34:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/specvital/infra","commit_stats":null,"previous_names":["specvital/infra"],"tags_count":3,"template":false,"template_full_name":"KubrickCode/Template-Repository","purl":"pkg:github/specvital/infra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specvital%2Finfra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specvital%2Finfra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specvital%2Finfra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specvital%2Finfra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/specvital","download_url":"https://codeload.github.com/specvital/infra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specvital%2Finfra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28399524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"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":["atlas","database-migrations","devops","docker","infrastructure","postgresql","redis"],"created_at":"2026-01-04T17:11:08.747Z","updated_at":"2026-01-13T23:03:11.122Z","avatar_url":"https://github.com/specvital.png","language":"HCL","readme":"# Specvital Infrastructure\n\nShared infrastructure for Specvital project - local development environment and database schema management.\n\n## Quick Start\n\n### VS Code Devcontainer (Recommended)\n\n1. Open this folder in VS Code\n2. Click \"Reopen in Container\" when prompted\n3. PostgreSQL and Redis start automatically\n\n### Docker Compose\n\n```bash\ncd .devcontainer \u0026\u0026 docker compose up -d\n```\n\n## Services\n\n| Service    | Port | Container Name     |\n| ---------- | ---- | ------------------ |\n| PostgreSQL | 5432 | specvital-postgres |\n| Redis      | 6379 | specvital-redis    |\n\n## Commands\n\n```bash\njust --list              # View all commands\n\njust deps                # Install dependencies\njust migrate             # Apply DB migrations\njust reset               # Reset DB (wipe + migrate)\njust makemigration name  # Create new migration\njust lint all            # Format all files\n```\n\n## Multi-Repository Setup\n\n```\nspecvital/\n├── infra        # This repo - start first!\n├── collector    # Go Worker\n└── web          # NestJS + Next.js\n```\n\n**Workflow**: Open infra devcontainer first → then open other repos\n\n### Connecting from Other Repos\n\nAdd to `.devcontainer/docker-compose.yml`:\n\n```yaml\nnetworks:\n  specvital-network:\n    name: specvital-network\n    external: true\n```\n\nEnvironment variables:\n\n```\nDATABASE_URL=postgres://postgres:postgres@specvital-postgres:5432/specvital?sslmode=disable\nREDIS_URL=redis://specvital-redis:6379\n```\n\n## Schema Management\n\nDatabase schema is managed with [Atlas](https://atlasgo.io/).\n\n| Path                   | Description           |\n| ---------------------- | --------------------- |\n| `db/schema/schema.hcl` | Declarative schema    |\n| `db/schema/migrations` | Timestamped SQL files |\n| `db/atlas.hcl`         | Environment configs   |\n\n## Troubleshooting\n\n**Network not found**: Start infra devcontainer first, or run `docker network create specvital-network`\n\n**Port conflict**: `docker ps | grep -E \"5432|6379\"` → stop conflicting container\n","funding_links":["https://github.com/sponsors/KubrickCode","https://buymeacoffee.com/KubrickCode","https://qr.kakaopay.com/FD9MRukP9"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspecvital%2Finfra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspecvital%2Finfra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspecvital%2Finfra/lists"}