Add Makefile, pg-admin to docker compose

This commit is contained in:
Tuan Dang
2024-01-27 12:38:23 +05:30
committed by Akhil Mohan
parent 257547ff4d
commit 3afafbb885
2 changed files with 14 additions and 0 deletions
+3
View File
@@ -7,6 +7,9 @@ push:
up-dev: up-dev:
docker-compose -f docker-compose.dev.yml up --build docker-compose -f docker-compose.dev.yml up --build
up-pg-dev:
docker compose -f docker-compose.pg.yml up --build
i-dev: i-dev:
infisical run -- docker-compose -f docker-compose.dev.yml up --build infisical run -- docker-compose -f docker-compose.dev.yml up --build
+11
View File
@@ -74,6 +74,17 @@ services:
- NEXT_PUBLIC_ENV=development - NEXT_PUBLIC_ENV=development
- INFISICAL_TELEMETRY_ENABLED=false - INFISICAL_TELEMETRY_ENABLED=false
pgadmin:
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: pass
ports:
- 5050:80
depends_on:
- db
smtp-server: smtp-server:
container_name: infisical-dev-smtp-server container_name: infisical-dev-smtp-server
image: lytrax/mailhog:latest # https://github.com/mailhog/MailHog/issues/353#issuecomment-821137362 image: lytrax/mailhog:latest # https://github.com/mailhog/MailHog/issues/353#issuecomment-821137362