Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add pg admin #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,20 @@ services:
- "5432:5432"
env_file:
- .env

pgadmin:
# 사용할 이미지
image: dpage/pgadmin4
# 컨테이너 실행 시 재시작
restart: always
# 컨테이너명 설정
container_name: pgadmin4
# 접근 포트 설정 (컨테이너 외부:컨테이너 내부)
ports:
- "5050:80"
# 환경 변수 설정
env_file:
- .env
# 볼륨 설정
volumes:
- ./data/pgadmin/:/var/lib/pgadmin
Loading