adding the config files for deploying this remote
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
## GCP deploy
|
||||
- `gcloud auth login`
|
||||
- `gcloud config set project itsamejms`
|
||||
- `gcloud auth application-default set-quota-project itsamejms`
|
||||
- `gcloud run services list`
|
||||
- `gcloud services enable run.googleapis.com artifactregistry.googleapis.com storage.googleapis.com`
|
||||
- `gcloud storage buckets create gs://jms-git-bucket --location=europe-west1`
|
||||
|
||||
```
|
||||
gcloud run deploy gitea-serverless \
|
||||
--source . \
|
||||
--region europe-west1 \
|
||||
--allow-unauthenticated \
|
||||
--max-instances 1 \
|
||||
--memory 512Mi \
|
||||
--port 3000 \
|
||||
--set-env-vars="GCS_BUCKET_NAME=jms-git-bucket" \
|
||||
--set-env-vars="GITEA_WORK_DIR=/data/gitea" \
|
||||
--set-env-vars="GITEA_CUSTOM=/data/gitea"
|
||||
```
|
||||
Reference in New Issue
Block a user