Set custom port for running app #3
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -38,4 +38,4 @@ COPY . .
|
||||
# Install app dependencies
|
||||
RUN npm install --legacy-peer-deps
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 7000
|
||||
|
||||
Loading…
Reference in New Issue
Block a user