Skip to content

Commit 2fe6014

Browse files
committed
remove nginx-proxy
1 parent ecf8e6f commit 2fe6014

File tree

5 files changed

+4
-111
lines changed

5 files changed

+4
-111
lines changed

MAVEN_COMMAND.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@
1818

1919
1. replace `token.properties` to `token.properties.local` on pom.xml line 894
2020
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`
2625

2726
## Build docker image for dev and prod
2827

@@ -32,9 +31,3 @@
3231
1. build war dir `mvn clean package`
3332
2. run `docker build -t tc-online-review:dev -f ECSDockerfile --platform=linux/amd64 .` in root dir.
3433
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;`

docker-compose.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,3 @@ services:
3838
environment:
3939
- JAVA_OPTS= -Xms1G -Xmx1G -XX:MaxPermSize=256M -server
4040
- 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

local/nginx/certs/local.topcoder-dev.com.crt

Lines changed: 0 additions & 26 deletions
This file was deleted.

local/nginx/certs/local.topcoder-dev.com.key

Lines changed: 0 additions & 28 deletions
This file was deleted.

local/nginx/nginx.conf

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)