{"action":"created","issue":{"url":"https://api.github.com/repos/QingdaoU/OnlineJudgeFE/issues/20","repository_url":"https://api.github.com/repos/QingdaoU/OnlineJudgeFE","labels_url":"https://api.github.com/repos/QingdaoU/OnlineJudgeFE/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/QingdaoU/OnlineJudgeFE/issues/20/comments","events_url":"https://api.github.com/repos/QingdaoU/OnlineJudgeFE/issues/20/events","html_url":"https://github.com/QingdaoU/OnlineJudgeFE/issues/20","id":315557940,"number":20,"title":"How I can connect my local OnlineJudgeFE to oj-backend (in docker)?","user":{"login":"eagle705","id":7252598,"avatar_url":"https://avatars1.githubusercontent.com/u/7252598?v=4","gravatar_id":"","url":"https://api.github.com/users/eagle705","html_url":"https://github.com/eagle705","followers_url":"https://api.github.com/users/eagle705/followers","following_url":"https://api.github.com/users/eagle705/following{/other_user}","gists_url":"https://api.github.com/users/eagle705/gists{/gist_id}","starred_url":"https://api.github.com/users/eagle705/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eagle705/subscriptions","organizations_url":"https://api.github.com/users/eagle705/orgs","repos_url":"https://api.github.com/users/eagle705/repos","events_url":"https://api.github.com/users/eagle705/events{/privacy}","received_events_url":"https://api.github.com/users/eagle705/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-18T16:41:57Z","updated_at":"2018-04-19T02:45:21Z","closed_at":"2018-04-19T02:45:21Z","author_association":"NONE","body":"As instruction,\r\n```\r\n# the dev-server will set proxy table to your backend\r\nexport TARGET=http://Your-backend\r\n```\r\nI used these command\r\n```\r\nexport TARGET=<my ip:portNum of oj-backend>\r\n```\r\n\r\nI'm trying to connect my local FE app. \r\nMy app is on 8080 port and my docker container (oj-backend) app is also on 8080:8000 port(port forwarding). these apps conflict because they use same 8080 port.. \r\n\r\nHow can I fix it?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/QingdaoU/OnlineJudgeFE/issues/comments/382592257","html_url":"https://github.com/QingdaoU/OnlineJudgeFE/issues/20#issuecomment-382592257","issue_url":"https://api.github.com/repos/QingdaoU/OnlineJudgeFE/issues/20","id":382592257,"user":{"login":"virusdefender","id":4939404,"avatar_url":"https://avatars2.githubusercontent.com/u/4939404?v=4","gravatar_id":"","url":"https://api.github.com/users/virusdefender","html_url":"https://github.com/virusdefender","followers_url":"https://api.github.com/users/virusdefender/followers","following_url":"https://api.github.com/users/virusdefender/following{/other_user}","gists_url":"https://api.github.com/users/virusdefender/gists{/gist_id}","starred_url":"https://api.github.com/users/virusdefender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virusdefender/subscriptions","organizations_url":"https://api.github.com/users/virusdefender/orgs","repos_url":"https://api.github.com/users/virusdefender/repos","events_url":"https://api.github.com/users/virusdefender/events{/privacy}","received_events_url":"https://api.github.com/users/virusdefender/received_events","type":"User","site_admin":false},"created_at":"2018-04-19T02:45:21Z","updated_at":"2018-04-19T02:45:21Z","author_association":"CONTRIBUTOR","body":"https://github.com/QingdaoU/OnlineJudgeFE/blob/3d332a41ecb8c24edd24f73bea3f12eb4097c998/config/index.js#L39\r\n\r\nyou can set `PORT` env"}}
{"actor":{"display_login":"virusdefender"}}