{"id":23443294,"url":"https://github.com/bjcode-git/projetcloud","last_synced_at":"2026-03-20T01:25:47.866Z","repository":{"id":239737023,"uuid":"800402350","full_name":"BJCode-git/ProjetCloud","owner":"BJCode-git","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-14T20:18:39.000Z","size":567,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T14:52:29.460Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","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/BJCode-git.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-05-14T09:09:07.000Z","updated_at":"2024-05-14T20:05:30.000Z","dependencies_parsed_at":"2025-04-09T22:38:15.179Z","dependency_job_id":null,"html_url":"https://github.com/BJCode-git/ProjetCloud","commit_stats":null,"previous_names":["bjcode-git/projetcloud"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BJCode-git/ProjetCloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BJCode-git%2FProjetCloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BJCode-git%2FProjetCloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BJCode-git%2FProjetCloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BJCode-git%2FProjetCloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BJCode-git","download_url":"https://codeload.github.com/BJCode-git/ProjetCloud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BJCode-git%2FProjetCloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28687422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","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-12-23T18:17:34.311Z","updated_at":"2026-01-23T10:16:23.355Z","avatar_url":"https://github.com/BJCode-git.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ProjetCloud\n\n\n# Mettre à jour l'image du  front-end\n```bash\ngit clone https://gitlab.unistra.fr/jbrelot/projetcloud -b front-end\n```\n*** Opérer les modifications nécessaires ***\n```bash\ndocker build ./ --tag projetcloud/front-end\ndocker tag projetcloud/front-end docker.io/jbunistras/cloud-front-end\ndocker push docker.io/jbunistras/cloud-front-end\n```\n# Mettre à jour l'image du back-end\n```bash\ngit clone https://gitlab.unistra.fr/jbrelot/projetcloud -b front-end\n```\n### Opérer les modifications nécessaires\n```bash\ndocker build ./ --tag projetcloud/front-end\ndocker tag projetcloud/front-end docker.io/jbunistras/cloud-front-end\ndocker push docker.io/jbunistras/cloud-front-end\n```\nNormalement, les images sont maintenues à jour sur le dockerhub \nvia un job gitlab qui se déclenche à chaque push sur la branche front-end ou back-end\n\n# Configuration de l'accès aux machines et configuration de l'ip flottante\n```bash\necho \"\nHost bastion-cloud\n    Hostname bastion.100do.se\n    User student\n\nHost racaillou\n    Hostname racaillou.internal.100do.se\n    User ubuntu\n    ProxyJump bastion-cloud\n\nHost gravalanch\n    Hostname gravalanch.internal.100do.se\n    User ubuntu\n    ProxyJump bastion-cloud\n\nHost grolem\n    Hostname grolem.internal.100do.se\n    User ubuntu\n    ProxyJump bastion-cloud\n\" \u003e\u003e ~/.ssh/config\n\necho \"\n-----BEGIN-----\n\tCLE SSH\n-----END-----\n\" \u003e\u003e ~/.ssh/cloud_key\nchmod 600 ~/.ssh/cloud_key\nssh-add ~/.ssh/cloud_key\n```\n\n# Configuration de l'ip flottante\n```bash\nssh racaillou\nsudo ip address add dev vxlan12 172.16.12.110/24\nexit\n\nssh gravalanch\nsudo ip address add dev vxlan12 172.16.12.110/24\nexit\n\nssh grolem\nsudo ip address add dev vxlan12 172.16.12.110/24\nexit\n\nssh gravalanch\nsudo ip address add dev vxlan12 172.16.12.110/24\nexit\n```\n# Deploiement de l'application\n```bash\nssh racaillou\necho \"\n-----BEGIN-----\n\tCLE SSH\n-----END-----\n\" \u003e\u003e ~/.ssh/cloud_key\nchmod 600 ~/.ssh/cloud_key\nssh-add ~/.ssh/cloud_key\n\ngit clone https://gitlab.unistra.fr/jbrelot/projetcloud\nsh install-ansible.sh\nansible-playbook -i ansible/inventory.yaml ansible/playbook.yaml\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjcode-git%2Fprojetcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjcode-git%2Fprojetcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjcode-git%2Fprojetcloud/lists"}