-
-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Google Cloud deployment | ||
|
||
This setup is similar to the [Docker Deployment](DockerDeployment.md), except that the `docker-compose` is hosted by Google Cloud. | ||
|
||
## Google Cloud shell setup | ||
|
||
Google Cloud is alternative way to set up BTCPayServer. | ||
|
||
Start by clicking the following button: | ||
|
||
[![Open in Cloud Shell](http://gstatic.com/cloudssh/images/open-btn.svg)](https://console.cloud.google.com/cloudshell/open?git_repo=https%3A%2F%2Fgithub.com%2Fbtcpayserver%2Fbtcpayserver-googlecloud&page=editor) | ||
|
||
You can log into [Google Cloud Console](https://console.cloud.google.com) with your Google account. | ||
|
||
Final installation steps: | ||
|
||
* On Google cloud shell, Set the default project and zone where to deploy instance | ||
* Change yaml file to configure VM instance and BTCPay server: ![GCE and BTCPay Config](img/gcloud-yaml.png) | ||
* Change mode 755 for shell scripts and run 'deploy.sh \<any deployname\>' to start depolyment | ||
* (Wait for Google Cloud deployment for a minute) | ||
* A static IP is shown on the google cloud shell | ||
* Go to your DNS service and map it with your domain name, say EXAMPLE.MYSITE.com | ||
* ssh to the vm from Google cloud console's VM instances list | ||
* on ssh, Go to /btcpayserver-docker directry and run 'changedomain.sh EXAMPLE.MYSITE.com' | ||
* Access to https://EXAMPLE.MYSITE.com by browser | ||
* Click 'Register' and create an account - This will be your **admin** account! | ||
* **Done!** Visit `https://EXAMPLE.MYSITE.com/stores` to create your store and begin invoicing. | ||
|
||
For advanced users, you can connect via SSH with the information on `https://EXAMPLE.MYSITE.com/server/services/ssh`, and: | ||
|
||
* Run `docker ps` and `docker logs xxx` to view running processes | ||
* Run `btcpay-down.sh` and `btcpay-up.sh` to stop and start the BTCPayServer | ||
|
||
Approximate Cost : **70 USD per month** | ||
|
||
Learn more: [btcpayserver/btcpayserver-googlecloud](https://github.com/btcpayserver/btcpayserver-googlecloud) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.