Use application template

How to deploy any application in 10 seconds by using qovery template

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 .qovery.yml, and Dockerfile files.

Tutorial

  1. Choose your template

    You can list all available templates with the command:

    $ qovery template list
    All templates available
    NAME | DESCRIPTION
    hasura | Hasura is a production-ready GraphQL backend
    gatsby | Gatsby is a fast modern site generator for React
    ...
  2. Use it

    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.

  3. Deploy

    To deploy your application you have to commit and push your project with the .qovery.yml, and the Dockerfile generated 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 --watch

    qovery status --watch
    Deployment progression
    100% |████████████████████████████████████████| [0s:0s]
    Your environment is ready!
    -- status output --
    BRANCH NAME | STATUS | ENDPOINTS | APPLICATIONS | DATABASES
    master | running | https://main-yenr7erjbs87dk4m-gtw.qovery.io | simple-example-node-with-postgresql | my-postgresql-3498225
    APPLICATION NAME | STATUS | DATABASES
    simple-example-node-with-postgresql | running | my-postgresql-3498225
    DATABASE NAME | STATUS | TYPE | VERSION | ENDPOINT | PORT | USERNAME | PASSWORD | APPLICATIONS
    my-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.