Skip to content

Commit

Permalink
chore: Add pgadmin service to docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosNG93 committed Jul 24, 2024
1 parent 5dadc69 commit 9a5829a
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ x-configs:
max-size: "10m"

services:
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin4_container
restart: always
ports:
- "8888:80"
environment:
PGADMIN_DEFAULT_EMAIL: carl@gmail.com
PGADMIN_DEFAULT_PASSWORD: password
volumes:
- pgadmin-data:/var/lib/pgadmin
db:
image: postgres:13.1-alpine
environment:
Expand All @@ -25,12 +36,7 @@ services:
<<: [*logging, *policy]

app:
build:
context: ./
target: dev
volumes:
- .:/app
- /app/node_modules
image: carlosnunez1/monorepo:20240724.a
ports:
- "3000:3000"
command: ./scripts/start.sh
Expand All @@ -40,3 +46,4 @@ services:

volumes:
db-data:
pgadmin-data:

0 comments on commit 9a5829a

Please # to comment.