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

[IF] Docker 설정 파일 외부 주입 #10

Open
clghks opened this issue Apr 28, 2019 · 2 comments
Open

[IF] Docker 설정 파일 외부 주입 #10

clghks opened this issue Apr 28, 2019 · 2 comments
Assignees
Labels
Milestone

Comments

@clghks
Copy link
Contributor

clghks commented Apr 28, 2019

  • Docker 실행시 .env 파일 주입
  • Entrypoint
@clghks clghks self-assigned this Apr 28, 2019
@clghks clghks added the infra label Apr 28, 2019
@clghks clghks added this to the Sprint #4 milestone Apr 28, 2019
@clghks
Copy link
Contributor Author

clghks commented May 8, 2019

API 서버 설정 파일 변경

docker cp [env file] [container id]:/usr/src/app/community-rewards/backend/.env
sudo docker stop [container id]
sudo docker start [container id]

// 예제 
[container id] = 9c1832636416
[env file] = .env_dev

docker cp .env_dev 9c1832636416:/usr/src/app/community-rewards/backend/.env
sudo docker stop 9c1832636416
sudo docker start 9c1832636416

clghks added a commit to clghks/community-rewards-docker that referenced this issue May 8, 2019
clghks added a commit that referenced this issue May 11, 2019
[IF] Docker 설정 파일 외부 주입 #10
@rygh4775
Copy link
Contributor

TODO

  • .env 파일 Docker volume 설정

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants