From c137b078c6d3823e5bb25efebf4ab70ea1383340 Mon Sep 17 00:00:00 2001 From: eduardo-rubio Date: Wed, 24 Apr 2024 20:10:41 -0300 Subject: [PATCH] Final changes --- README.md | 17 +++++++++++++++++ docker-compose.yml | 2 ++ 2 files changed, 19 insertions(+) diff --git a/README.md b/README.md index 42a12a7..5d6b835 100644 --- a/README.md +++ b/README.md @@ -73,3 +73,20 @@ To do it access:
``` redis-cli -h 127.0.0.1 -p 6379 PING ``` + +* Open Ports +``` +docker container ls --format "table {{.ID}}\t{{.Names}}\t{{.Ports}}" -a +``` +* Postgres connection +``` +{ + "label": "127.0.0.1", + "host": "127.0.0.1", + "user": "postgres", + "port": 6543, + "ssl": false, + "database": "", + "password": "password" +} +``` diff --git a/docker-compose.yml b/docker-compose.yml index 37dcb78..42ed7cc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,8 @@ services: # - POSTGRES_USER=someuser - POSTGRES_PASSWORD=password image: 'postgres:9.5' + ports: + - "6543:5432" volumes: - 'postgres:/var/lib/postgresql/data'