Skip to content

Commit

Permalink
feat: #dev-deploy pgadmin
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbator committed Dec 1, 2024
1 parent 9c97bfd commit 7bfec6a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ POSTGRES_PASSWORD=postgres
POSTGRES_DB=kodemy
POSTGRES_PORT=5435

# PGADMIN
PGADMIN_PASSWORD=kodemy

# RABBITMQ
RABBITMQ_DEFAULT_USER=rabbitmq
RABBITMQ_DEFAULT_PASS=rabbitmq
Expand Down
14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ services:
- postgres_vol:/var/lib/postgresql/data
networks:
- kodemy

pgadmin:
image: dpage/pgadmin4
container_name: pgadmin4_container
restart: always
ports:
- "8888:80"
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD}
volumes:
- pgadmin_data:/var/lib/pgadmin

rabbitmq:
image: rabbitmq:3.8-management-alpine
Expand Down Expand Up @@ -78,6 +90,8 @@ networks:
volumes:
postgres_vol:
driver: local
pgadmin_data:
driver: local
rabbitmq_vol:
driver: local
opensearch_vol:
Expand Down

0 comments on commit 7bfec6a

Please sign in to comment.