I created a .do/app.yaml file for my monorepo. I need to fill the environment_slug key, I could not find any documentation or resource which values are possible to fill that key. A medium thread used go, so I used go aswell for now, but my apps are build with NestJs and NextJs (javascript, nodejs)
Please provide some resource / documentation for this.
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!
Heya,
Just came across this answer and decided to write some general guidelines for anyone who comes across this in the future despite the old question.
The environment_slug key in your .do/app.yaml file determines the software that will be pre-installed on your app’s environment. Here are a few possibilities:
Since you mention your apps are built with NestJs and NextJs, you should use node as your environment_slug to benefit from the Node.js runtime.
For more details on App Platform specifications, check out this App Specification Reference in the DigitalOcean docs. Here you will find other keys that you might need in your .do/app.yaml file.
Hope that this helps!
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.