Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit eb6fef7

Browse files
committed
open ports for microservice call
1 parent 984ee63 commit eb6fef7

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

docker-compose.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
version: '2'
22
services:
3-
tc-cache:
4-
build: ./docker/tc-cache
5-
image: "tc-cache"
63
tc-informix:
7-
image: "appiriodevops/informix:1.1"
4+
image: "appiriodevops/informix:1.2"
5+
ports:
6+
- "2021:2021"
87
tc-direct:
9-
#build: ./docker/local-setup/direct-app-base
8+
build: ./docker/local-setup/direct-app-base
109
#image: "tc-direct"
11-
image: "appiriodevops/direct-app-base:latest"
10+
#image: "appiriodevops/direct-app-base:latest"
1211
links:
1312
- "tc-informix"
14-
- "tc-cache"
1513
volumes:
1614
- ".:/root/direct"
17-
command: sh -c "cd /root/direct && ant first_deploy && /root/jboss-4.2.3.GA/bin/run.sh -b 0.0.0.0"
15+
hostname: cockpit.cloud.topcoder.com
16+
command: sh -c "cd /root/direct && ant first_deploy && /root/jboss-4.2.3.GA/bin/run.sh -b 0.0.0.0 -Djboss.remoting.version=1"
1817
ports:
1918
- "443:443"
2019
- "8180:8180"
20+
- "1199:1199"
21+
- "1198:1198"
22+
- "3973:3973"
2123

docker/local-setup/direct-app-base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ RUN mkdir /root/temp_files
5757
RUN mkdir -p /root/studiofiles/submissions
5858

5959
# expose jboss ports
60-
EXPOSE 8180 443
60+
EXPOSE 8180 443 1199 1198 3973
6161

0 commit comments

Comments
 (0)