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

dev: docker image build #302

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

NavyStack
Copy link

수정사항

  1. .gitignore 주석 추가

추가사항

  1. dev.Dockerfile php 공식이미지에서 빌드를 시작함
  2. .env-template 파일 추가 ( env로 이름 변경하고 내용 수정하면 docker-compose-dev.yml에 반영됨)

기타

  1. local에서 실행시 gnuboard5에서 localhost로 하드 코딩되어있어서 install로 넘어갈때 port병기 필요함.
  2. docker buildx build 할때 ARG로 넘겨주면 PHP 및 Nginx 버전 변경가능
  3. PHP 확장 모듈은 PHP 이미지의 베이스에 gd imagick apcu opcache redis pdo_mysql intl exif zip 만 추가함 (공식 빌드방식과 동일)
  4. 짧은 주소를 활성화 함 nginx.conf 참고

실행방법

docker compose -f docker-compose-dev.yml up -d

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.

1 participant