Skip to content

Comments

Deconflict netaccess and boulder containers.#3785

Merged
cpu merged 2 commits intomasterfrom
fix-docker-compose-up
Jun 29, 2018
Merged

Deconflict netaccess and boulder containers.#3785
cpu merged 2 commits intomasterfrom
fix-docker-compose-up

Conversation

@jsha
Copy link
Contributor

@jsha jsha commented Jun 28, 2018

Since these two containers were using the same entrypoint.sh, they were
competing to run migrations and bind ports when run with docker-compose up. Since we don't need the netaccess container when doing
docker-compose up, give it a separate entrypoint that exits
immediately by default, but does the normal migrations when run with
docker-compose run.

Since these two containers were using the same entrpoint.sh, they were
competing to run migrations and bind ports when run with `docker-compose
up`. Since we don't need the netaccess container when doing
`docker-compose up`, give it a separate entrypoint that exits
immediately by default, but does the normal migrations when run with
`docker-compose run`.
@jsha jsha requested a review from a team as a code owner June 28, 2018 23:29
Copy link
Contributor

@cpu cpu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one small nit, otherwise LGTM

# Otherwise it would race with boulder container's entrypoint.sh to run
# migrations, and one or the other would fail randomly. Also, it would compete
# with the boulder container for ports. This is a variant of entrypoint.sh that
# exists if it is not given an argument.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: "exists" -> "exits"

@cpu
Copy link
Contributor

cpu commented Jun 29, 2018

Merging with 1 🔍 - test only diff

@cpu cpu merged commit 6c6e82f into master Jun 29, 2018
@cpu cpu deleted the fix-docker-compose-up branch June 29, 2018 16:35
@jsha jsha mentioned this pull request Jul 16, 2018
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.

3 participants