version: '3.5'
services:
db:
image: postgres
restart: always
environment:
- POSTGRES_PASSWORD=postgres
container_name: postgres
volumes:
- ./pgdata:/var/lib/postgresql/data
ports:
- '5432:5432'
pgadmin:
image: dpage/pgadmin4
restart: always
container_name: nest-pgadmin4
environment:
- PGADMIN_DEFAULT_EMAIL=admin@admin.com
- PGADMIN_DEFAULT_PASSWORD=pgadmin4
ports:
- '5050:80'
depends_on:
- db
When i do docker compose up i expect to run both images, but i get both continously restarting in Docker app. When i also open
http://localhost:5050/, the tab is not opeing.
Did someone faced the same issue?
Note: i use Windows and try to run the dosker file in context of nest js application.
0 comments:
Post a Comment
Thanks