본문 바로가기

Blog

검색하기
Blog
프로필사진 ggi88

  • 분류 전체보기 (52)
    • Today I Learned (16)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/04   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
Tags
  • springboot
  • svelte
  • react
  • Book
  • edgestore
  • dokerfile
  • Delphi
  • oraclecloude
  • vercel
  • spring
  • WSLHostPatcher
  • beautifullsoup
  • flyio
  • superbase
  • Expo
  • TypeScript
  • stepzen
  • reactnative
  • kidznote
  • tessrect
  • FastAPI
  • Nextjs
  • java
  • AWS
  • shadcn-ui
  • wsl2
  • vmmem
  • docker
  • 일의격
  • Markdown
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록postgres (1)

Blog

[TIL] 2023-09-01 도커환경에서 서버 db 연결

로컬에서 도커로 개발환경을 변경 참고 https://seorenn.github.io/note/docker-development-environment.html 로컬 개발 후 실행환경만 따로 docker image로 만들어 쓰면 됨 변경하기 전 샘플을 만들어 테스트 부터 해보자 db 이미지 받고 도커 실행 fastapi 서버 코드 작성 fastapi 서버를 운영할 도커 이미지 받고 db 접속 및 api 테스트 postgres db 연결 도커에서 이미지 받아 사용하자 docker pull postgres:alpine docker run --name fastapi-db -e POSTGRES_PASSWORD=password -d -p 5432:5432 postgres:alpinefastapi 아래와 같이 도커파일..

카테고리 없음 2023. 9. 1. 15:42
이전 Prev 1 Next 다음

Blog is powered by AXZ / Designed by Tistory

티스토리툴바