Creating a Dockerfile is sometimes tedious, to facilitate the deployment of the most popular languages and frameworks, Qovery provides official templates. The
qovery init -t <template name> generate a
- You have installed the Qovery CLI
Choose your template
You can list all available templates with the command:$ qovery template listAll templates availableNAME | DESCRIPTIONhasura | Hasura is a production-ready GraphQL backendgatsby | Gatsby is a fast modern site generator for React...
To use a template it's as easy as executing:$ qovery init -t <template name>
Then an interactive prompt will ask you couple of questions to generate the proper configuration.
To deploy your application you have to commit and push your project with the
.qovery.yml, and the
Dockerfilegenerated by the Qovery CLI.$ git add .qovery.yml Dockerfile$ git commit -m "Add .qovery.yml and Dockerfile"$ git push -u origin master
You can check the progress of your application deployment with
qovery status --watchqovery status --watchDeployment progression100% |████████████████████████████████████████| [0s:0s]Your environment is ready!-- status output --BRANCH NAME | STATUS | ENDPOINTS | APPLICATIONS | DATABASESmaster | running | https://main-yenr7erjbs87dk4m-gtw.qovery.io | simple-example-node-with-postgresql | my-postgresql-3498225APPLICATION NAME | STATUS | DATABASESsimple-example-node-with-postgresql | running | my-postgresql-3498225DATABASE NAME | STATUS | TYPE | VERSION | ENDPOINT | PORT | USERNAME | PASSWORD | APPLICATIONSmy-postgresql-3498225 | running | POSTGRESQL | 11.5 | <hidden> | <hidden> | <hidden> | <hidden> | simple-example-node-with-postgresql
What to do if a template...
Does not work
Unwanted behaviour can happen, if a template is not working as expected, please open an issue. If you can fix it, you can make a Pull Request as well. We love contributors, and we know how to thanks them :)
Does not exist
We are sorry to know that you didn't find the template of your dream. You can contribute by opening an issue or submitting a Pull Request.
Could be improved
You can improve a template by submitting a Pull Request.