{"id":18824153,"url":"https://github.com/gastonpereyra/vercel-docker","last_synced_at":"2026-04-13T01:06:33.661Z","repository":{"id":109752211,"uuid":"423261820","full_name":"gastonpereyra/vercel-docker","owner":"gastonpereyra","description":"Some tools or advices to use vercel and docker for local development","archived":false,"fork":false,"pushed_at":"2021-11-01T00:09:28.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-16T05:53:28.916Z","etag":null,"topics":["advice","docker","documentation","node","vercel"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"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/gastonpereyra.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":"2021-10-31T21:13:26.000Z","updated_at":"2024-10-05T20:50:28.000Z","dependencies_parsed_at":"2023-06-11T09:45:19.586Z","dependency_job_id":null,"html_url":"https://github.com/gastonpereyra/vercel-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gastonpereyra/vercel-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gastonpereyra%2Fvercel-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gastonpereyra%2Fvercel-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gastonpereyra%2Fvercel-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gastonpereyra%2Fvercel-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gastonpereyra","download_url":"https://codeload.github.com/gastonpereyra/vercel-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gastonpereyra%2Fvercel-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31735563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["advice","docker","documentation","node","vercel"],"created_at":"2024-11-08T00:55:43.257Z","updated_at":"2026-04-13T01:06:33.619Z","avatar_url":"https://github.com/gastonpereyra.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vercel + Docker\n\n![template](https://user-images.githubusercontent.com/39351850/139603463-31eba860-db3f-48cd-b9f6-918dc95d13ae.png)\n\n---\n\nThe idea 💡 is to keep the files somewhere with easy access, and let open to everyone to colaborate.\n\n\u003e ❕ **IMPORTANT** I will call _\"service\"_ to some project/repository deploy in 🔼 [Vercel](https://vercel.com)\n\n## Intro\n\nWhen you are using 🔼 [Vercel](https://vercel.com) to create \"service\", it is easy, is simple, is automatic in most cases. They offers not only multiple templates, especially for frontend projects, and has his own CLI with multiple options.\n\nUsing the CLI is useful to develop in local, it link the local service with the deployed, for example use the env variables.\n\n## Problem\n\nWhen it's about a frontend project nothing happens..\n\nWhen it's about a backend proeject, a **REST API** for example, at first is wondefull.. If you wanted to deploy multiple \"services\" which interact can used `--listen` option to setup different ports, Ok!.\n\n\u003e ❔ **What happened if you wanted to use different accounts?**\n\nWell, you must login with the different accounts each time, or use `--token` option to start the local Env.\n\n\u003e ❕ **IMPORTANT** You can setup a token in Vercel to login, can do it [here](https://vercel.com/account/tokens)\n\nBut.. wait..\n\n\u003e ❔ **Why you must use different accounts?**\n\nWell, if you are in a team and don't want or cannot paid for a Team account, or colaborators in Vercel. You can create a main account in Github, to use it as a single user, only must give access to everybody to push branches and manage that account. So you have a Free-Account for a Team.\n\n\u003e ❔ **What happened if you have different dependencies, like databases?**\n\n## Solution\n\nDocker is a great in this cases, write a docker-compose file, add every service necesary, like Mongodb, and develop it.\n\nAlso Works with everyelse.. incluiding to keep the Token in Secret.\n\nSo, with Docker, we can have serveral \"services\", with differents tokens (for different accounts), and several differents ports, with databases (or whatever we need).. and develop in Vercel.\n\nTo see more, look en [`/example`](https://github.com/gastonpereyra/vercel-docker/tree/main/example) folder.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgastonpereyra%2Fvercel-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgastonpereyra%2Fvercel-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgastonpereyra%2Fvercel-docker/lists"}