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

apply h2 when profile local #21

Closed
wants to merge 1 commit into from
Closed

apply h2 when profile local #21

wants to merge 1 commit into from

Conversation

daehwan2da
Copy link
Collaborator

πŸ”‘ Key Changes

local profile 에 h2 둜 λ™μž‘ν•˜λ„λ‘ μˆ˜μ •ν–ˆμŠ΅λ‹ˆλ‹€.

πŸ“Έ Screenshot

πŸ“’ To Reviewers

@PgmJun
Copy link
Member

PgmJun commented Mar 2, 2024

μ’‹μŠ΅λ‹ˆλ‹€! 근데 λ‘œμ»¬μ—μ„œ κ°„νŽΈν•œ 섀정을 μœ„ν•΄ docekr-compose.yml에 h2에 κ΄€ν•œ λ‚΄μš©μ΄ μΆ”κ°€λ˜λŠ” 게 쒋지 μ•Šμ„κΉŒ 싢기도 ν•΄μš”!

db:
    container_name: h2 # μ»¨ν…Œμ΄λ„ˆ 이름
    image: oscarfonts/h2:latest # h2 이미지
    ports: # ν¬νŠΈν¬μ›Œλ”©
      - 1521:1521 # TCP 포트 : λ°μ΄ν„°λ² μ΄μŠ€ μ—°κ²° 포트
      - 8081:81 # HTTP 포트 : μ›Ήμ½˜μ†” μ—°κ²° 포트
    environment: #h2 μ„€μ •
      H2_OPTIONS: -ifNotExists # DBκ°€ 이미 μ‘΄μž¬ν•˜λ©΄ μž¬μƒμ„± X
    volumes:
      - ./h2/:/opt/h2-data # host μ„œλ²„μ™€ μ—°κ²°λ˜λŠ” ν†΅λ‘œ ( μ €μž₯ 및 λ°±μ—… 경둜 )
    restart: always # μ»¨ν…Œμ΄λ„ˆ μ’…λ£Œμ‹œ μžλ™ μž¬μ‹€ν–‰

@daehwan2da daehwan2da closed this Mar 2, 2024
@daehwan2da daehwan2da deleted the refactor/#20 branch March 2, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SETTING] local h2
2 participants