Skip to content

Commit 190e6ef

Browse files
committed
Port bug popped up once more, probably me being sloppy. Fixed.
1 parent 5b98c4b commit 190e6ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Since Docker is run through Java's ```ProcessBuilder```, the output of the proce
151151
## Spring Boot log
152152

153153
A lot of information can be read from the Spring Boot log. The parts which pertain to Docker Postgres are prefixed with a '|' symbol. Within this group exist:
154-
* non-prefixed; actions take in the library
154+
* non-prefixed; actions taken in the library
155155
* \>; output from std out/err
156156
* $\>; commands run with Java's ProcessBuilder
157157

src/main/java/nl/_42/boot/docker/postgres/DockerPostgresProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class DockerPostgresProperties {
2626

2727
private String startupVerificationText = "PostgreSQL init process complete; ready for start up.";
2828

29-
private String dockerCommand = "docker run --rm -e POSTGRES_PASSWORD=${password} -p 5432:${port} --name ${containerName} ${imageName}:${imageVersion}";
29+
private String dockerCommand = "docker run --rm -e POSTGRES_PASSWORD=${password} -p ${port}:5432 --name ${containerName} ${imageName}:${imageVersion}";
3030

3131
private Integer timeout = 300000; // 5 minutes because of time required for downloading?
3232

0 commit comments

Comments
 (0)