-
Notifications
You must be signed in to change notification settings - Fork 597
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
Docker: Improve postgres
setup
#3221
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Turbo87
force-pushed
the
docker-test-db
branch
2 times, most recently
from
February 1, 2021 02:05
e14d8d4
to
14368a8
Compare
Why was I mentioned here? Not that I have a problem with that, I'm just not sure if I wasn't supposed to do something 😅 |
@plaets only for awareness because you were working on the other Docker topics :) |
Turbo87
added
the
C-internal 🔧
Category: Nonessential work that would make the codebase more consistent or clear
label
Feb 11, 2021
Turbo87
force-pushed
the
docker-test-db
branch
from
February 12, 2021 16:44
14368a8
to
5a31acf
Compare
Turbo87
force-pushed
the
docker-test-db
branch
2 times, most recently
from
February 14, 2021 20:25
dca0c59
to
99a80e3
Compare
Turbo87
force-pushed
the
docker-test-db
branch
3 times, most recently
from
February 26, 2021 23:13
409bfb3
to
30a73ce
Compare
Turbo87
force-pushed
the
docker-test-db
branch
4 times, most recently
from
March 1, 2021 21:52
636a797
to
d6743a2
Compare
Docker by default exposes ports on 0.0.0.0
@bors r+ |
📌 Commit 1daff49 has been approved by |
☀️ Test successful - checks-actions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-backend ⚙️
C-internal 🔧
Category: Nonessential work that would make the codebase more consistent or clear
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR allows us to use the docker-compose setup to run
cargo test
with the Dockerized Postgres server. It also adjusts the docker-compose setup a little bit to not expose thepostgres
container on all host interfaces, but instead only makes it available on 127.0.0.1.To run just the database container you can use:
(
-d
runs it in daemon mode)/cc @plaets
r? @pietroalbini