{"id":18799845,"url":"https://github.com/viur-framework/viur-container","last_synced_at":"2026-03-19T06:27:30.296Z","repository":{"id":85517695,"uuid":"475732122","full_name":"viur-framework/viur-container","owner":"viur-framework","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-29T16:15:02.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-26T16:39:37.387Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/viur-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2022-03-30T05:28:32.000Z","updated_at":"2022-03-31T14:41:53.000Z","dependencies_parsed_at":"2023-03-13T05:51:46.887Z","dependency_job_id":null,"html_url":"https://github.com/viur-framework/viur-container","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/viur-framework/viur-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viur-framework%2Fviur-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viur-framework%2Fviur-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viur-framework%2Fviur-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viur-framework%2Fviur-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viur-framework","download_url":"https://codeload.github.com/viur-framework/viur-container/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viur-framework%2Fviur-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28791463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"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":[],"created_at":"2024-11-07T22:16:49.402Z","updated_at":"2026-03-19T06:27:30.288Z","avatar_url":"https://github.com/viur-framework.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# viur-container\n\n## If you want to build the container by yourself\n\nFirst checkout repo:\n```sh\ngit pull github.com/viur-framework/viur-container\n```\n\n#### Then build the container:\nNote that there is a dot as the last argument at the end, this points to the current working directory where the Dockerfile resides.\n```sh\ndocker build -t viur-container .\n```\n\n## If you would rather use the pre-built container:\n```sh\ndocker pull ghcr.io/viur-framework/viur3-container:latest\n```\n#### Run the Container\nWhen starting the container for the first time, make sure you are already authenticated in gcloud. The container will use the default credentials of the host system: \n```sh\ngcloud auth application-default login\n```\nExport the path that you want the docker container to mount, where all your projects are in. You can see in the docker run command, that we are using $projectpath for this, you can chose your own obviously.\n\nSee the docker [documentation](https://docs.docker.com/config/containers/container-networking/) for details, for viur projects we use port 8080 as default, if you have local services using this port already, you might want to expose a different port. If you are developing a frontend with Vue.js and use vite you also need to map port 8081.\n\n```sh\nexport projectspath=\"/my/path/to/projects\"\n\ndocker run --rm --name viurdevcontainer -p 8080:8080  -p 8081:8081  -p 8090:8090 -p 8091:8091 -p 8092:8092 -p 27017:27017 -p 27018:27018 -v $projectspath:/projects -v $HOME/.config/gcloud:/root/.config/gcloud -ti viur-container:latest\n```\nWhen the container has been started successfully, you can change into your specific project directory and start working.\nSetup your pipenv and start your shell.\n```sh\npipenv install --dev\npipenv shell\nviur run\n```\n\n**If you use MacOS then use this command from inside your pipenv instead**\n```sh\nviur run develop --port 8091 --host 0.0.0.0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviur-framework%2Fviur-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviur-framework%2Fviur-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviur-framework%2Fviur-container/lists"}