@@ -44,17 +44,15 @@ You can customize the following environment variables:
4444
4545<!-- markdownlint-disable MD013 -->
4646
47- | var | default | description |
48- | ------------------------------------- | --------------------------------------------------- | ---------------------------------------------------------------- |
49- | ` DOCKER_ENV_PROJECT_NAME ` | Repository name | Name of your project (used to generated images and containers) |
50- | ` DOCKER_ENV_PROJECT_ENV_FILE ` | ` $PWD/.env ` | Local environment file |
51- | ` DOCKER_ENV_PROJECT_DOCKER_DIRECTORY ` | ` $PWD/docker ` | Project docker directory, where docker-env files are located |
52- | ` DOCKER_ENV_PROJECT_COMPOSE_FILE ` | ` $DOCKER_ENV_PROJECT_DOCKER_DIRECTORY/compose.yaml ` | The dev env compose file, where services are defined |
53- | ` DOCKER_ENV_PROJECT_CACHE_DIRECTORY ` | ` $PWD/.cache/docker-env ` | Where docker-env will store its generated files for your project |
54- | ` DOCKER_ENV_PROJECT_DEFAULT_SERVICE ` | dev | Default dev env service to use when unspecified |
55- | ` DOCKER_ENV_BUILD_PLATFORMS ` | - | Target platforms when building images |
56- | ` DOCKER_ENV_REGISTRY ` | - | Registry where built images will be pulled/pushed from/to |
57- | ` DOCKER_ENV_TAG ` | latest | Image tag to build/pull from registry |
47+ | var | default | description |
48+ | ------------------------------------ | ----------------------- | ---------------------------------------------------------------- |
49+ | ` DOCKER_ENV_PROJECT_NAME ` | Repository name | Name of your project (used to generated images and containers) |
50+ | ` DOCKER_ENV_PROJECT_COMPOSE_FILE ` | ` ./docker/compose.yaml ` | The dev env compose file, where services are defined |
51+ | ` DOCKER_ENV_PROJECT_CACHE_DIRECTORY ` | ` ./.cache/docker-env ` | Where docker-env will store its generated files for your project |
52+ | ` DOCKER_ENV_PROJECT_DEFAULT_SERVICE ` | dev | Default dev env service to use when unspecified |
53+ | ` DOCKER_ENV_BUILD_PLATFORMS ` | - | Target platforms when building images |
54+ | ` DOCKER_ENV_REGISTRY ` | - | Registry where built images will be pulled/pushed from/to |
55+ | ` DOCKER_ENV_BASE_TAG ` | latest | Image tag to build/pull from registry |
5856
5957These variables are readonly:
6058
@@ -102,15 +100,16 @@ create containers, start them and open an interactive shell in the dev env conta
102100#### CI workflows
103101
104102You can use ` ./docker/env.sh exec -- COMMAND ` to build/pull images, create containers, start
105- them and execute a command in the dev env container. The ` init ` , ` build ` , ` pull ` , ` push ` and
106- ` tag ` subcommands, alongside some [ environment variables] ( #environment-variables ) can also be
107- used to craft efficient workflows.
103+ them and execute a command in the dev env container. The ` compose ` and ` tag ` subcommands,
104+ alongside some [ environment variables] ( #environment-variables ) can also be used to craft
105+ efficient workflows.
108106
109107> You can look at this repo's CI/CD workflows for inspiration
110108
111109#### Winding down
112110
113- When done, you can stop and remove the environment using ` ./docker/env.sh down `
111+ When done, you can stop and remove the environment using ` ./docker/env.sh compose down ` (like
112+ any other docker compose environment)
114113
115114## Contributors
116115
0 commit comments