Skip to content

Commit

Permalink
[#develop] hotfix: fix docker entrypoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
myeongjae-kim committed Aug 2, 2020
1 parent c7ddb4a commit 3c9207b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Content-Type: application/json

{
"provider": "GOOGLE",
"providerAccessToken": "ya29.a0AfH6SMBCb4gch-zYbu_zc8OON0PUGSXw0_Uw4P-tiZ5AgYg6uwLvDg44X7GaiIc65jlmgFuauY65_HW1j77phSDCECLaWwvWYV8kNKcVDNFSiNGvjQ_GR_nW_FvWc4pQM-JP_ruWB0QUQhSw1GlYzrUAMZUh-NlX8XE",
"nickname": "nickname2"
"providerAccessToken": "ya29.a0AfH6SMB1RqYmN1KpH0BbhjM_10lpyioOqjhxBn0-fWUItW9wf0j2as9cWgTf2bAXgcgRmEae4tIp68mkigZ2-KEQQYy85VCwcAkviZ_mxUNxLZqZW1gqtQ8umEh_S82BZveoh1d-gh_k4SuVA8NYEm7YSdoyCWLA-Fe4",
"nickname": "김명재"
}

###
Expand Down
5 changes: 5 additions & 0 deletions community-backend/rest-client.env.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@
"auth": "http://localhost:8080/api",
"monolith": "http://localhost:8080/api",
"access-token": "48c7635c-2f37-4f7f-a717-e27d9f146856"
},
"prod": {
"auth": "https://kiworkshop.org/api",
"monolith": "https://kiworkshop.org/api",
"access-token": "48c7635c-2f37-4f7f-a717-e27d9f146856"
}
}
1 change: 1 addition & 0 deletions community.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ WORKDIR /usr/local/community

ENTRYPOINT [ "sh", "-c", "export $(echo $application_env) > /dev/null &&\
nohup java -Djava.security.egd=file:/dev/./urandom -Dspring.profiles.active=$(echo $PROFILE) -jar app-auth-0.0.1-SNAPSHOT.jar &\
export $(echo $application_env) > /dev/null &&\
nohup java -Djava.security.egd=file:/dev/./urandom -Dspring.profiles.active=$(echo $PROFILE) -jar app-monolith-0.0.1-SNAPSHOT.jar &\
cd frontend && nohup npm run start &\
nohup nginx -g 'daemon off;'" ]

0 comments on commit 3c9207b

Please sign in to comment.