Comments (2)
Hello, 👋. The .do
directory contains files for working with the DigitalOcean App Platform. app.yaml
is the app spec for this repository. It serves as a reference, and it can be used to create and update the app manually via doctl
once a user has forked the repository. You are correct, the app spec has to be explicitly specified in doctl
to perform operations with the app, and it's not automatically picked up by the CLI or the GitHub integration in the dashbaord. We may revisit this in the future, and if we do we'll document it; but the explicit intentional use of the app spec with doctl
prevents users from accidentally or unintentionally making changes to their apps.
Note that the app can be deployed automatically using the DigitalOcean App dashboard (as documented) and it would work fine without .do/app.yaml
or any app specification file in the repository. Of course app specification file can be used to additionally customize the app and build or run time behavior, but it can only be used with doctl
or DigitalOcean API.
The deploy.template.yaml
file is actually what powers the "Deploy to DigitalOcean" button, and it has to be in .do/
directory. The format for that file is very similar, but slightly different than the app spec. Essentially it's just the app specification nested in a spec
property.
Hope this clears it up! We'll try to improve documentation around these details. There are additional tutorials and questions in our Community site. Feel free to play around and ask any other questions. Happy hacking!
from sample-dockerfile.
Also, the location .do/
made me assume (by convention of .circleci.yml
, .travis.yml
, .github/
etc.) that the file configures the deploy - but that doesn't seem to be the case (the doctl
CLI is needed to manually push the config). Is this correct? If so, I find the location (combined with lack of documentation) confusing in this example... Happy to stand corrected though :-)
from sample-dockerfile.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sample-dockerfile.