File tree Expand file tree Collapse file tree 5 files changed +4
-111
lines changed Expand file tree Collapse file tree 5 files changed +4
-111
lines changed Original file line number Diff line number Diff line change 18
18
19
19
1 . replace ` token.properties ` to ` token.properties.local ` on pom.xml line 894
20
20
2 . add ` 127.0.0.1 local.topcoder-dev.com ` to your hosts
21
- 3 . add ` local/nginx/certs/* ` as a trusted root authority to your browser
22
- 4 . build war dir ` mvn clean package `
23
- 5 . run ` docker-compose up -d ` in root dir.
24
- 6 . open ` https://local.topcoder-dev.com:8443 ` and click ` login ` button on top-right corner
25
- 7 . use ` dok/appirio123 ` to login
21
+ 3 . build war dir ` mvn clean package `
22
+ 4 . run ` docker-compose up -d ` in root dir.
23
+ 5 . open ` https://topcoder-dev.com/login ` and use ` dok/appirio123 ` to login.
24
+ 6 . open ` http://local.topcoder-dev.com:8080/review `
26
25
27
26
## Build docker image for dev and prod
28
27
32
31
1 . build war dir ` mvn clean package `
33
32
2 . run ` docker build -t tc-online-review:dev -f ECSDockerfile --platform=linux/amd64 . ` in root dir.
34
33
3 . run ` docker-compose -f docker-compose-dev.yml up -d ` in root dir to start docker container.
35
-
36
- ## Note
37
-
38
- You need comment ` login ` function when deploying locally.
39
-
40
- - comment src/main/java/com/cronos/onlinereview/util/AuthorizationHelper.java line145-151 and then ` return 132456L; `
Original file line number Diff line number Diff line change @@ -38,14 +38,3 @@ services:
38
38
environment :
39
39
- JAVA_OPTS= -Xms1G -Xmx1G -XX:MaxPermSize=256M -server
40
40
- TZ=America/Indiana/Indianapolis
41
- - VIRTUAL_HOST=local.topcoder-dev.com
42
- - VIRTUAL_PORT=8080
43
- nginx-proxy :
44
- image : nginxproxy/nginx-proxy
45
- ports :
46
- - " 8880:80"
47
- - " 8443:443"
48
- volumes :
49
- - /var/run/docker.sock:/tmp/docker.sock:ro
50
- - ./local/nginx/certs:/etc/nginx/certs
51
- - ./local/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments