Skip to content

Commit

Permalink
update ports (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtasalem authored Oct 3, 2024
1 parent ee9c4a8 commit 58068e6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 141 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG PARENT_VERSION=2.3.0-node20.15.0
ARG PORT=3021
ARG PORT=3031
ARG PORT_DEBUG=9229

# Development
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# FCP Template Node
# fcp-fd-landing-page

Template to support rapid delivery of microservices for FCP Platform. It contains the configuration needed to deploy a simple Hapi Node server to the Azure Kubernetes Platform.

Expand Down
4 changes: 2 additions & 2 deletions docker-compose.override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ services:
image: fcp-fd-landing-page-development
container_name: fcp-fd-landing-page-development
ports:
- "3021:3021"
- "9021:9229"
- "3031:3031"
- "9031:9229"
volumes:
- ./app:/home/node/app
- ./package.json:/home/node/package.json
6 changes: 3 additions & 3 deletions helm/fcp-fd-landing-page/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ container:
requestCpu: 100m
limitMemory: 100Mi
limitCpu: 100m
port: 3021
port: 3031

livenessProbe:
path: /healthz
port: 3021
port: 3031
initialDelaySeconds: 20
periodSeconds: 10
failureThreshold: 3
timeoutSeconds: 5

readinessProbe:
path: /healthy
port: 3021
port: 3031
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 3
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fcp-fd-landing-page",
"version": "0.1.3",
"version": "0.1.4",
"description": "Micro front end for Single Front Door landing page",
"homepage": "https://github.com/DEFRA/fcp-fd-landing-page",
"main": "app/index.js",
Expand All @@ -15,7 +15,9 @@
"start:debug": "nodemon --inspect-brk=0.0.0.0 --ext js --legacy-watch app/index.js"
},
"author": "Defra",
"contributors": [],
"contributors": [
"Rana Salem <[email protected]>"
],
"license": "OGL-UK-3.0",
"dependencies": {
"@hapi/hapi": "21.3.2",
Expand Down
132 changes: 0 additions & 132 deletions rename.js

This file was deleted.

0 comments on commit 58068e6

Please sign in to comment.