The canonical source of PSONO GCP Cloud Run is hosted on GitLab.com.
The documentation for the psono server can be found here:
Some things that have not yet found their place in the documentation:
- Create startup parameters
You need a couple of parameters that you can generate with the following docker command:
docker run --rm -ti psono/psono-server:latest python3 ./psono/manage.py generateserverkeys
-
Create a Google Cloud Project
-
Create a Cloud Postgres DB
Remember the name of the instance. It's something like PROJECT_NAME:REGION:DBNAME
- Click Run on Google Cloud
If you receive a timeout you can start the provisioning manually with this command:
cloudshell_open --repo_url "https://github.com/psono/psono-gcp-cloud-run.git" --page "editor"
-
Answer all the questions
-
Add Domain Mapping
Use your provider to configure the necessary CNAME record
- Configure email
Pick one of the supported email providers in the Documentation and configure the environment variables accordingly.
Click on the service and then at the top click "Deploy new revision"
- Adjust the Port to be 80
- Add the necessary environment variables for the email provider
Visit the License.md for more details