Skip to content

Commit

Permalink
Update ports
Browse files Browse the repository at this point in the history
  • Loading branch information
conorheffron committed Sep 9, 2024
1 parent b0561d5 commit c0c45a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
9 changes: 1 addition & 8 deletions .aws/task-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,10 @@
"portMappings": [
{
"name": "ironoc-80-tcp",
"containerPort": 8080,
"containerPort": 80,
"hostPort": 80,
"protocol": "tcp",
"appProtocol": "http"
},
{
"name": "ironoc-8080-tcp",
"containerPort": 8080,
"hostPort": 8080,
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ ENV RUN_FILE /run.sh
COPY run.sh ${RUN_FILE}
RUN chmod +x ${RUN_FILE}

EXPOSE 8080
EXPOSE 80

ENTRYPOINT [ "sh", "-c", "${RUN_FILE}" ]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ services:
portfolio:
image: ironoc
ports:
- "8080:8080"
- "80:80"

0 comments on commit c0c45a0

Please sign in to comment.