# Connect to Pgadmin

**URL:** <https://forum.heroiclabs.com/t/connect-to-pgadmin/4365>\
**Category:** Local Setup\
**Tags:** server-framework\
**Created:** [September 20, 2023, 11:16am UTC](https://forum.heroiclabs.com/t/connect-to-pgadmin/4365 "2023-09-20T11:16:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehrdadgame](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/mehrdadgame/32/1814_2.png) [@Mehrdadgame](https://forum.heroiclabs.com/u/Mehrdadgame)\
**Post date:** [September 20, 2023, 11:16am UTC](https://forum.heroiclabs.com/t/connect-to-pgadmin/4365/1 "2023-09-20T11:16:49Z")

</div>

I have issue to connect Postgres . I did create Postgres db when connect in Pgadmin had a error password :my docker compos is

`  
version: ‘3.3’  
services:  
postgres:  
container\_name: postgres  
image: postgres:12.2-alpine  
environment:

- POSTGRES\_DB=nakama
- POSTGRES\_PASSWORD=12ct
- POSTGRES\_USER=postgres  
volumes:
- postgres\_data:/var/lib/postgresql/data  
expose:
- “5432”  
ports:
- “5432:5432”  
healthcheck:  
test: [“CMD”, “pg\_isready”, “-U”, “postgres”, “-d”, “nakama”]  
interval: 3s  
timeout: 3s  
retries: 5

nakama:  
container\_name: PersainSong  
image: [registry.heroiclabs.com/heroiclabs/nakama:3.13.1](http://registry.heroiclabs.com/heroiclabs/nakama:3.13.1)  
entrypoint:

- “/bin/sh”
- “-ecx”
- 

> 

/nakama/nakama migrate up --database.address postgres:localdb@postgres:5432/nakama &&  
exec /nakama/nakama --name Song --database.address postgres:localdb@postgres:5432/nakama --logger.level DEBUG --session.token\_expiry\_sec 7200 --runtime.env “JWT\_SECRET\_KEY=2SoPDHoqJvSId\_\_63qgzpKEPqgnEJCl\_jayxdGt1mOo”

```auto
restart: "always"
depends_on:
  - postgres
volumes:
  - ./:/nakama/data
expose:
  - "7349"
  - "7350"
  - "7351"
  - "9100"
ports:
  - "7349:7349"
  - "7350:7350"
  - "7351:7351"
healthcheck:
  test: ["CMD", "curl", "-f", "http://localhost:7350/"]
  interval: 10s
  timeout: 5s
  retries: 5

```

volumes:  
postgres\_data:  
`
