mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New live demo with Apache proxying, refs #1522
This commit is contained in:
parent
ff0dd4da38
commit
c76bbd4066
3 changed files with 60 additions and 0 deletions
13
demos/apache-proxy/deploy.sh
Executable file
13
demos/apache-proxy/deploy.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
# https://til.simonwillison.net/cloudrun/ship-dockerfile-to-cloud-run
|
||||
|
||||
NAME="datasette-apache-proxy-demo"
|
||||
PROJECT=$(gcloud config get-value project)
|
||||
IMAGE="gcr.io/$PROJECT/$NAME"
|
||||
|
||||
gcloud builds submit --tag $IMAGE
|
||||
gcloud run deploy \
|
||||
--allow-unauthenticated \
|
||||
--platform=managed \
|
||||
--image $IMAGE $NAME \
|
||||
--port 80
|
||||
Loading…
Add table
Add a link
Reference in a new issue