2023-06-11 01:15:31 +03:00
|
|
|
version: '3.9'
|
|
|
|
services:
|
|
|
|
mermaid:
|
2023-08-14 02:02:28 +00:00
|
|
|
image: node:18.17.1-alpine3.18
|
2023-06-11 01:15:31 +03:00
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
working_dir: /mermaid
|
2023-08-25 12:55:26 +03:00
|
|
|
mem_limit: '4G'
|
2023-06-18 01:32:45 +03:00
|
|
|
environment:
|
2023-08-25 12:55:26 +03:00
|
|
|
- NODE_OPTIONS=--max_old_space_size=4096
|
2023-06-11 01:15:31 +03:00
|
|
|
volumes:
|
|
|
|
- ./:/mermaid
|
2023-06-18 01:32:45 +03:00
|
|
|
- root_cache:/root/.cache
|
|
|
|
- root_local:/root/.local
|
2023-06-24 21:37:19 +03:00
|
|
|
- root_npm:/root/.npm
|
2023-06-18 01:32:45 +03:00
|
|
|
ports:
|
|
|
|
- 9000:9000
|
2023-06-29 14:06:08 +03:00
|
|
|
- 3333:3333
|
2023-07-01 16:17:25 +03:00
|
|
|
cypress:
|
2023-08-21 03:01:21 +00:00
|
|
|
image: cypress/included:12.17.4
|
2023-07-01 16:17:25 +03:00
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
working_dir: /mermaid
|
|
|
|
mem_limit: '2G'
|
2023-07-02 01:10:06 +03:00
|
|
|
entrypoint: cypress
|
2023-07-01 16:17:25 +03:00
|
|
|
environment:
|
2023-07-02 01:10:06 +03:00
|
|
|
- DISPLAY
|
2023-07-01 16:17:25 +03:00
|
|
|
volumes:
|
|
|
|
- ./:/mermaid
|
2023-07-02 01:10:06 +03:00
|
|
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
2023-07-01 16:17:25 +03:00
|
|
|
network_mode: host
|
|
|
|
|
2023-06-18 01:32:45 +03:00
|
|
|
volumes:
|
|
|
|
root_cache:
|
2023-06-18 01:32:45 +03:00
|
|
|
root_local:
|
2023-06-18 01:32:45 +03:00
|
|
|
root_npm:
|