Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable skipping teardown when using the run-docker Makefile target #1591

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Nov 8, 2023

Now you can use an environment variable to tell our run-docker target
to skip the teardown phase. It may be done as follows:

export RUN_DOCKER_NO_TEARDOWN=true

This will result in subsequent calls to make teardown to skip the
docker-compose down call at the beginning of the run.

this is handy for cases where you're doing rapid development and want
to keep the database changes.

Now you can use an environment variable to tell our `run-docker` target
to skip the teardown phase. It may be done as follows:

```bash
export RUN_DOCKER_NO_TEARDOWN=true
```

This will result in subsequent calls to `make teardown` to skip the
`docker-compose down` call at the beginning of the run.

this is handy for cases where you're doing rapid development and want
to keep the database changes.
.mk/develop.mk Outdated Show resolved Hide resolved
@JAORMX JAORMX merged commit 3e12721 into main Nov 8, 2023
13 checks passed
@JAORMX JAORMX deleted the run-docker-no-teardown branch November 8, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants