File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -61,3 +61,35 @@ After that, configure this project with the following settings:
61
61
- Output directory: ` packages/web/.next `
62
62
63
63
One last thing: specify ` REACT_APP_STORE_OWNER_ADDRESS_ADDRESS ` in the Environment Variables section
64
+
65
+ ## Google Cloud Run
66
+
67
+ We can deploy deploy through docker and cloud run.
68
+ Let's visit [ Cloud Run] ( https://console.cloud.google.com/run )
69
+
70
+ ### Prepare your docker container
71
+
72
+ 1 . change ` Dockerfile ` ` ENV REACT_APP_STORE_OWNER_ADDRESS_ADDRESS="" ` to your address.
73
+ 2 . change ` REACT_APP_STORE_OWNER_ADDRESS_ADDRESS ` to your address. on ` js/packages/web/.env.production `
74
+ 3 . use ` docker build . -t ` build your image.
75
+ 4 . use ` gcloud cli ` upload your image` [ read] ( https://cloud.google.com/container-registry/docs/pushing-and-pulling )
76
+
77
+ ### Create Clound Run Services
78
+
79
+ visit [ Cloud Run] ( https://console.cloud.google.com/run )
80
+
81
+ 1 . click create service
82
+ 2 . setup your service name, like ` my nft store `
83
+ 3 . choose your uploaded image
84
+ 4 . open adcanced setings
85
+ 1 . switch to Variables and keys
86
+ 2 . add Environment Variables
87
+ 1 . name: ` NODE_ENV ` , value: ` production `
88
+ 5 . set up & finish your create.
89
+
90
+ ### setup your domain
91
+
92
+ visit [ Cloud Run] ( https://console.cloud.google.com/run )
93
+
94
+ 1 . switch to manage custom domain
95
+ 2 . setup your domain and bind service.
You can’t perform that action at this time.
0 commit comments