2023-06-11 01:15:31 +03:00
|
|
|
version: '3.9'
|
|
|
|
services:
|
|
|
|
mermaid:
|
2023-06-26 02:45:06 +00:00
|
|
|
image: node:18.16.1-alpine3.18
|
2023-06-11 01:15:31 +03:00
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
working_dir: /mermaid
|
2023-06-22 23:38:00 +03:00
|
|
|
mem_limit: '2G'
|
2023-06-18 01:32:45 +03:00
|
|
|
environment:
|
2023-06-22 23:38:00 +03:00
|
|
|
- NODE_OPTIONS=--max_old_space_size=2048
|
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-07-11 17:19:31 +00:00
|
|
|
image: cypress/included:12.17.1
|
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:
|