mirror of
https://github.com/mermaid-js/mermaid.git
synced 2026-05-23 20:10:38 +00:00
demonstrate docker port change works successfully
This commit is contained in:
+3
-3
@@ -7,8 +7,8 @@ services:
|
||||
tty: true
|
||||
working_dir: /mermaid
|
||||
mem_limit: '8G'
|
||||
environment:
|
||||
- MERMAID_PORT
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./:/mermaid
|
||||
- root_cache:/root/.cache
|
||||
@@ -16,7 +16,7 @@ services:
|
||||
- root_npm:/root/.npm
|
||||
- /tmp:/tmp
|
||||
ports:
|
||||
- '${MERMAID_PORT}:9000'
|
||||
- ${MERMAID_PORT}:${MERMAID_PORT}
|
||||
- 3333:3333
|
||||
cypress:
|
||||
image: cypress/included:14.0.3
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@
|
||||
"e2e:coverage": "pnpm run load:env -- pnpm run e2e:harness:coverage",
|
||||
"e2e:harness": "start-server-and-test dev http://localhost:${MERMAID_PORT}/ cypress",
|
||||
"e2e:harness:coverage": "start-server-and-test dev:coverage http://localhost:${MERMAID_PORT}/ cypress",
|
||||
"load:env": "dotenv -e .env.development -e .env",
|
||||
"load:env": "dotenv -e .env",
|
||||
"test": "pnpm lint && vitest run",
|
||||
"test:watch": "vitest --watch",
|
||||
"test:coverage": "vitest --coverage",
|
||||
|
||||
Reference in New Issue
Block a user