Skip to content

Commit

Permalink
Update port refs
Browse files Browse the repository at this point in the history
  • Loading branch information
conorheffron committed Sep 9, 2024
1 parent 8928c11 commit 01619fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
13 changes: 3 additions & 10 deletions .aws/task-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,12 @@
{
"name": "ironoc",
"image": "345594590074.dkr.ecr.eu-north-1.amazonaws.com/conorheffron/ironoc:latest",
"memory": "256",
"memory": "512",
"portMappings": [
{
"name": "ironoc-80-tcp",
"containerPort": 80,
"hostPort": 80,
"protocol": "tcp",
"appProtocol": "http"
},
{
"name": "ironoc-8080-tcp",
"containerPort": 8080,
"hostPort": 8080,
"hostPort": 80,
"protocol": "tcp",
"appProtocol": "http"
}
Expand All @@ -42,7 +35,7 @@
"family": "ironoc",
"taskRoleArn": "arn:aws:iam::345594590074:role/ecsTaskExecutionRole",
"executionRoleArn": "arn:aws:iam::345594590074:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"networkMode": "bridge",
"volumes": [],
"status": "ACTIVE",
"requiresAttributes": [
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 80
EXPOSE 8080

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:
- "80:80"
- "8080:8080"

0 comments on commit 01619fc

Please sign in to comment.