By PiotrH
Hi all,
when I try to deploy from one-click deploy button to DO, Currently it is only working for “Services”.
Check for example: https://github.com/Blair2004/NexoPOS/blob/d5b30b0cc62a7436b52f4c078ca4072ffc8e8384/.do/deploy.template.yaml#L5
But “databases” are ignored.
You can check it basically from here https://github.com/Blair2004/NexoPOS/
Official docs: https://docs.digitalocean.com/products/app-platform/reference/app-spec/
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This one can be simple reproduced by:
spec:
name: deploystack
region: nyc
databases:
- name: db
engine: MYSQL
production: true
cluster_name: linkace
version: "8"
Hey!
One issue here might be that the cluster name should be at least 3 letters, and in your yaml file you’ve set it to ns
:
However, I just tested this with a longer name and it still seems to be an issue.
I will report this internally!
In the meantime, you could try first provisioning the cluster separately.
- Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.