adding the config files for deploying this remote

This commit is contained in:
itsamejms
2026-06-04 18:50:02 +01:00
commit 35a1af7852
5 changed files with 101 additions and 0 deletions
+20
View File
@@ -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"
```