{"id":20221843,"url":"https://github.com/g4ze/byoc","last_synced_at":"2025-09-22T02:32:58.029Z","repository":{"id":243777941,"uuid":"812431305","full_name":"g4ze/byoc","owner":"g4ze","description":"container deployment platform","archived":false,"fork":false,"pushed_at":"2024-10-13T15:32:03.000Z","size":105688,"stargazers_count":3,"open_issues_count":6,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T13:21:16.922Z","etag":null,"topics":["aws","aws-ecs-fargate","aws-sdk-go-v2","golang","nextjs","postgresql"],"latest_commit_sha":null,"homepage":"https://g4ze.github.io/byoc/","language":"Go","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/g4ze.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":"2024-06-08T21:51:27.000Z","updated_at":"2025-02-09T13:38:59.000Z","dependencies_parsed_at":"2024-06-15T19:21:01.467Z","dependency_job_id":"0d358af9-907f-44da-be73-b16329a7dd80","html_url":"https://github.com/g4ze/byoc","commit_stats":null,"previous_names":["g4ze/byoc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/g4ze/byoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4ze%2Fbyoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4ze%2Fbyoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4ze%2Fbyoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4ze%2Fbyoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g4ze","download_url":"https://codeload.github.com/g4ze/byoc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4ze%2Fbyoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276336224,"owners_count":25624558,"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","status":"online","status_checked_at":"2025-09-22T02:00:08.972Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws","aws-ecs-fargate","aws-sdk-go-v2","golang","nextjs","postgresql"],"created_at":"2024-11-14T06:54:31.764Z","updated_at":"2025-09-22T02:32:57.092Z","avatar_url":"https://github.com/g4ze.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# This software enables you to deploy your containers with a single click.\n\nCheckout all docs and implementation [here](https://g4ze.github.io/byoc/)\n\nRead on LinkedIn [here](https://www.linkedin.com/posts/guptanilay1_bring-your-own-container-activity-7222729928209809408-VaSP?utm_source=share\u0026utm_medium=member_desktop)\n\nRead the tech blog [here](https://nilaygupta.hashnode.dev/bring-your-own-container)\n\n\n\n\n\n\n## Database setup etc\n### in the pkg/database dir\nsetup the db `docker run --name byoc_postgres -e POSTGRES_PASSWORD=Welcome -p 5432:5432 postgres:latest`\nFirst time cmd:\n[run db push to synchronize your schema with your database. It will also create the database if it doesn't exist.]\n`go run github.com/steebchen/prisma-client-go db push`\n\nEverytime model is changed, migrate your database and re-generate your prisma code:\n`go run github.com/steebchen/prisma-client-go migrate dev --name add_comment_model`\n\nAccess the databse using:\n`docker exec -it psql-dev psql -U postgres -d postgres`\n\n\n`mkdir data`\n`\ndocker run -e POSTGRES_PASSWORD=mysecretpassword  -p 5432:5432 -v ./data:/var/lib/postgresql/data --name byoc-postgres -d postgres\n`\n```\ndocker run --name byoc_postgres \\\n  -e POSTGRES_PASSWORD=Welcome \\\n  -p 5432:5432 \\\n  -v byoc_pg:/var/lib/postgresql/data \\\n  postgres:latest\n```\n\n`connect to DBpsql -h localhost -U postgres`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg4ze%2Fbyoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg4ze%2Fbyoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg4ze%2Fbyoc/lists"}