https://github.com/cunkz/google-appengine-docker
Simple initialization kit to deploy Google AppEngine via Docker and use custom domain
https://github.com/cunkz/google-appengine-docker
appengine custom-domain docker google
Last synced: 2 months ago
JSON representation
Simple initialization kit to deploy Google AppEngine via Docker and use custom domain
- Host: GitHub
- URL: https://github.com/cunkz/google-appengine-docker
- Owner: cunkz
- Created: 2022-02-19T08:47:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-19T09:09:24.000Z (about 3 years ago)
- Last Synced: 2025-01-25T08:26:31.411Z (4 months ago)
- Topics: appengine, custom-domain, docker, google
- Language: Dockerfile
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google AppEngine via Docker and Custom Domain
This repository contains examples of using Google AppEngine via Docker and Custom Domain.
## Usage & Installation
First, activate your Google AppEngine in spesific region. Important! your region can't be change to other region, so choose it wisely.
If you using Gitlab CI/CD, you can prepare service account json keyfile and upload it into Settings > CI/CD > Variable and name it "APP_ENGINE_SERVICE_ACCOUNT".
If you want to manual deploy, run this following command to deploy this application into your Google AppEngine :
```bash
gcloud app deploy app.yaml --version=1.0.0
```After application successfully deployed, you can check the deployed url, usually at http://.et.r.appspot.com
If you want to add custom domain for your application, open AppEngine Dashboard > Settings > Custom Domains > Add Custom Domain.
After you added some required record for verification and CNAME record into your domain, run this following command to deploy application into your Custom Domain :
```bash
gcloud app deploy dispatch.yaml
```## Additional Information
In this repository, we recommend to use version in each deployment of AppEngine. Because when some trouble happen, you can immediately stop current version and start the older version via AppEngine Dashboard > Versions > Choose Service Name > Choose Stable Version of Your Service.