Set custom port for running app #3

Merged
nabarun merged 2 commits from iv-app-port into main 2025-05-30 06:30:12 +00:00
3 changed files with 5 additions and 5 deletions

View File

@ -1,13 +1,13 @@
{
"name": "cosmos-multisig-ui",
"private": true,
"version": "0.1.0",
"version": "0.1.1",
"scripts": {
"dev": "next dev",
"test": "jest --watch",
"test:ci": "jest",
"build": "next build",
"start": "next start",
"start": "next start -p 7000",
"format": "prettier --write --log-level warn \"./**/*.{js,jsx,mjs,ts,tsx}\"",
"lint": "eslint --max-warnings 0 \"./**/*.{js,jsx,mjs,ts,tsx}\"",
"lint:fix": "eslint --max-warnings 0 \"./**/*.{js,jsx,mjs,ts,tsx}\" --fix"

View File

@ -28,9 +28,9 @@ services:
- ../config/cosmos-multisig-ui/db-schema.graphql:/cosmos-script/db-schema.graphql
- ${CHAIN_CONFIG_PATH:-../config/cosmos-multisig-ui/network.json}:/app/public/assets/network.json
ports:
- "3000"
- "7000"
healthcheck:
test: ["CMD", "nc", "-vz", "127.0.0.1", "3000"]
test: ["CMD", "nc", "-vz", "127.0.0.1", "7000"]
interval: 20s
timeout: 5s
retries: 15

View File

@ -38,4 +38,4 @@ COPY . .
# Install app dependencies
RUN npm install --legacy-peer-deps
EXPOSE 3000
EXPOSE 7000