diff --git a/.env.example b/.env.example index ae04e665..ca7ae14c 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 18c03c10..8fb5d1e5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: kodemy@gmail.com + PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD} + volumes: + - pgadmin_data:/var/lib/pgadmin rabbitmq: image: rabbitmq:3.8-management-alpine @@ -78,6 +90,8 @@ networks: volumes: postgres_vol: driver: local + pgadmin_data: + driver: local rabbitmq_vol: driver: local opensearch_vol: