Open simonw opened 2 years ago
Potential design:
datasette publish cloudrun data.db \
--service my-service \
--domain demo.datasette.io
I think I'm OK with calling this --domain
even when it is being used with a subdomain.
This will require datasette.io
to already have been verified with Google.
Not sure how best to handle the DNS part - maybe print out instructions for the necessary CNAME?
Looks like this API should be able to do that: https://twitter.com/steren/status/1483835859191304192 - https://cloud.google.com/run/docs/reference/rest/v1/namespaces.domainmappings/create