summaryrefslogtreecommitdiffstats
path: root/Services/postgres/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'Services/postgres/README.md')
-rw-r--r--Services/postgres/README.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/Services/postgres/README.md b/Services/postgres/README.md
index 8716025..73f4037 100644
--- a/Services/postgres/README.md
+++ b/Services/postgres/README.md
@@ -2,8 +2,13 @@ STARTX docker-images - Postgres
===============================
**Description**
-Based on the docker default postgres Dockerfile
+Based on the docker [default postgres](https://registry.hub.docker.com/u/library/postgres/) Dockerfile
**Usage**
- docker run --name="test-postgres" -d startx/sv-postgres
+ docker run -d -p 5432:5432 startx/sv-postgres
+ docker run -d -p 5432:5432 --name="test-postgres" startx/sv-postgres
+
+ docker run -d --name="test-postgres" startx/sv-postgres // linked to another container
+ docker run -d --name="test-www" --link test-postgres:postgres startx/sv-php
+