Skip to main content
Ergomake uses docker-compose.yml files to set up previews. In this page, you’ll learn how to set-up your first preview using a docker-compose.yml file.

Getting started

  1. Log into the Ergomake dashboard.
  2. Select the desired organization and click the “Add Repository” button.
  3. During the installation process, you’ll be prompted to give it access to the repository for which you want to generate previews. Make sure to select all the repositories you need.
    ⚠️ Ergomake can’t generate previews if it doesn’t have access to a repository.
  4. Open a pull request adding a docker-compose.yml file to a .ergomake folder in the root of your repository.
    At this point, you should already receive a preview link in this pull request.
  5. Merge Ergomake’s PR once you’re happy with how the preview looks.

Writing Dockerfiles

Writing Dockerfiles tends to be the most difficult part of setting up previews using docker-compose.yml. To learn more about how to write them, see Writing Dockerfiles.