{"id":19806599,"url":"https://github.com/arch-inc/amazon-lightsail-containers-test","last_synced_at":"2025-05-01T07:30:56.902Z","repository":{"id":44690605,"uuid":"328432760","full_name":"arch-inc/amazon-lightsail-containers-test","owner":"arch-inc","description":"「研究プロジェクトのWebアプリを気軽にデプロイする方法」 Chapter 02 Amazon Lightsail Containers のサンプルコードを含むリポジトリです。","archived":false,"fork":false,"pushed_at":"2022-01-31T03:58:31.000Z","size":7,"stargazers_count":19,"open_issues_count":1,"forks_count":15,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T10:52:10.773Z","etag":null,"topics":["aws","aws-lightsail","docker","github-actions"],"latest_commit_sha":null,"homepage":"https://zenn.dev/junkato/books/how-to-deploy-research-web-apps/viewer/amazon-lightsail-containers","language":"Dockerfile","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/arch-inc.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}},"created_at":"2021-01-10T16:54:27.000Z","updated_at":"2024-07-24T02:51:26.000Z","dependencies_parsed_at":"2022-08-12T11:21:22.043Z","dependency_job_id":null,"html_url":"https://github.com/arch-inc/amazon-lightsail-containers-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arch-inc%2Famazon-lightsail-containers-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arch-inc%2Famazon-lightsail-containers-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arch-inc%2Famazon-lightsail-containers-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arch-inc%2Famazon-lightsail-containers-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arch-inc","download_url":"https://codeload.github.com/arch-inc/amazon-lightsail-containers-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251840156,"owners_count":21652291,"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","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-lightsail","docker","github-actions"],"created_at":"2024-11-12T09:07:57.995Z","updated_at":"2025-05-01T07:30:56.665Z","avatar_url":"https://github.com/arch-inc.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"amazon-lightsail-containers-test\r\n---\r\n\r\n「[研究プロジェクトのWebアプリを気軽にデプロイする方法](https://zenn.dev/junkato/books/how-to-deploy-research-web-apps)」 Chapter 02 Amazon Lightsail Containers のサンプルコードを含むリポジトリです。\r\n\r\n## Directory structure\r\n\r\n- `src/` TypeScript で書かれたWebサーバ\r\n- `dist/` npm run build でトランスパイルされたWebサーバのコード置き場\r\n- `.github/workflows/` Amazon Lightsail Containers へ自動デプロイを行う GitHub Actions の設定\r\n\r\nsee also: [Azure Web App for Containersの場合](https://github.com/arch-inc/azure-web-app-for-containers-test)\r\n\r\n## How to use\r\n\r\nこのリポジトリを fork して動作させる場合、以下の設定が必要です。\r\n\r\n- `.github/workflows/deploy.yml \u003e env.AWS_REGION, env.AWS_LIGHTSAIL_SERVICE_NAME` を自分の環境に合わせて書き換える（cf. [コンテナサービスの作り方](https://zenn.dev/junkato/books/how-to-deploy-research-web-apps/viewer/amazon-lightsail-containers#%E3%82%B3%E3%83%B3%E3%83%86%E3%83%8A%E3%82%B5%E3%83%BC%E3%83%93%E3%82%B9%E3%81%AE%E4%BD%9C%E6%88%90)）\r\n- GitHub secret `AWS_ACCESS_KEY_ID` `AWS_SECRET_ACCESS_KEY` をセットする（cf. [GitHub secret の設定](https://zenn.dev/junkato/books/how-to-deploy-research-web-apps/viewer/amazon-lightsail-containers#github-secret-%E3%81%AE%E8%A8%AD%E5%AE%9A)）\r\n- デプロイ用テンプレート `container.template.json` の内容確認（cf. [デプロイ用テンプレートの作成](%E3%83%87%E3%83%97%E3%83%AD%E3%82%A4%E7%94%A8%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%81%AE%E4%BD%9C%E6%88%90)）\r\n\r\n## Demo site\r\n\r\nAmazon Lightsail Containers の micro プラン（最初の 3 か月: 無料; 以降 $10/月）で動いています。2021年4月までにシャットダウン予定です。\r\n\r\n- https://amazon-lightsail-containers-test.3vi9f716815e6.ap-northeast-1.cs.amazonlightsail.com/\r\n- https://amazon-lightsail-containers-test.3vi9f716815e6.ap-northeast-1.cs.amazonlightsail.com/hoge\r\n\r\n---\r\nhttps://github.com/arch-inc/amazon-lightsail-containers-test","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farch-inc%2Famazon-lightsail-containers-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farch-inc%2Famazon-lightsail-containers-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farch-inc%2Famazon-lightsail-containers-test/lists"}