Skip to content

Instantly share code, notes, and snippets.

@rumpl
Created November 4, 2021 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rumpl/13dd116187d58ba24375501b19b68532 to your computer and use it in GitHub Desktop.
Save rumpl/13dd116187d58ba24375501b19b68532 to your computer and use it in GitHub Desktop.

The .docker folder can contain different things depending on what type of dev environment you want to run

Single-container dev environment

In the case of a single dev environment you can put a config.json file to configure your dev environment. The config json file can contain one of these two properties:

  • image: would be the name of the image to use when creating a dev environment, example repository
  • dockerfile: a path to a dockerfile to use to build the image you want to use for your dev environment, example repository

Compose-based dev environment

In the case of a compose based dev environment there is no need for a config.json file, you would only put your docker-compose.yaml file. Here is an example repository, or this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment