Skip to content

Add ExposePorts Option#21

Merged
dhui merged 1 commit into
dhui:masterfrom
mbobrovskyi:master
Sep 8, 2024
Merged

Add ExposePorts Option#21
dhui merged 1 commit into
dhui:masterfrom
mbobrovskyi:master

Conversation

@mbobrovskyi

@mbobrovskyi mbobrovskyi commented Feb 13, 2023

Copy link
Copy Markdown
Contributor

Add ExposePorts Option that allow to open a custom port on create container.

@mbobrovskyi

Copy link
Copy Markdown
Contributor Author

@dhui Can you merge this changes ?

@mbobrovskyi

Copy link
Copy Markdown
Contributor Author

@dhui Could you please check this pull request? Or close if not valid?

@sam-kleiner sam-kleiner mentioned this pull request May 3, 2024
@sam-kleiner

Copy link
Copy Markdown

Bumping this since its needed to fix golang-migrate/migrate#917

It looks like my issue there was the dockerfile for surrealdb does not expose ports, while most other images used in migrate tests do. This allows me to override that when creating the container.

@mbobrovskyi

Copy link
Copy Markdown
Contributor Author

@dhui Any updates here?

@sam-kleiner

Copy link
Copy Markdown

@dhui if you have time time would you please review this? I have confirmed it fixes the issues I was having in migrate.

@mbobrovskyi mbobrovskyi changed the title Added ExposePorts in Options Add ExposePorts in Options Sep 8, 2024
@mbobrovskyi mbobrovskyi changed the title Add ExposePorts in Options Add ExposePorts Option Sep 8, 2024
@mbobrovskyi

Copy link
Copy Markdown
Contributor Author

@dhui Please take a look 🙏. I also fixed TestRunWithExposesPorts. This changes very important for us, because we can't move on with golang-migrate/migrate#881 and golang-migrate/migrate#917.

@dhui dhui left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

@mbobrovskyi @sam-kleiner thanks for your patience!

@dhui dhui merged commit 4619817 into dhui:master Sep 8, 2024
@sam-kleiner

Copy link
Copy Markdown

@mbobrovskyi @sam-kleiner thanks for your patience!

No worries I know we are all busy. Thanks for merging! Migrate is killer btw, love using it.

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