2023-06-11 00:15:31 +02:00
|
|
|
services:
|
|
|
|
mermaid:
|
2024-01-13 13:19:36 +01:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
2023-06-11 00:15:31 +02:00
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
working_dir: /mermaid
|
2024-01-04 01:37:41 +01:00
|
|
|
mem_limit: '8G'
|
2024-06-09 00:23:38 +02:00
|
|
|
entrypoint: ./docker-entrypoint.sh
|
2023-06-18 00:32:45 +02:00
|
|
|
environment:
|
2024-01-04 01:37:41 +01:00
|
|
|
- NODE_OPTIONS=--max_old_space_size=8192
|
2023-06-11 00:15:31 +02:00
|
|
|
volumes:
|
|
|
|
- ./:/mermaid
|
2023-06-18 00:32:45 +02:00
|
|
|
- root_cache:/root/.cache
|
|
|
|
- root_local:/root/.local
|
2023-06-24 20:37:19 +02:00
|
|
|
- root_npm:/root/.npm
|
2024-06-19 18:17:56 +02:00
|
|
|
- /tmp:/tmp
|
2023-06-18 00:32:45 +02:00
|
|
|
ports:
|
|
|
|
- 9000:9000
|
2023-06-29 13:06:08 +02:00
|
|
|
- 3333:3333
|
2023-07-01 15:17:25 +02:00
|
|
|
cypress:
|
2024-04-15 04:00:26 +02:00
|
|
|
image: cypress/included:13.7.3
|
2023-07-01 15:17:25 +02:00
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
working_dir: /mermaid
|
|
|
|
mem_limit: '2G'
|
2023-07-02 00:10:06 +02:00
|
|
|
entrypoint: cypress
|
2023-07-01 15:17:25 +02:00
|
|
|
environment:
|
2023-07-02 00:10:06 +02:00
|
|
|
- DISPLAY
|
2023-07-01 15:17:25 +02:00
|
|
|
volumes:
|
|
|
|
- ./:/mermaid
|
2023-07-02 00:10:06 +02:00
|
|
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
2023-07-01 15:17:25 +02:00
|
|
|
network_mode: host
|
|
|
|
|
2023-06-18 00:32:45 +02:00
|
|
|
volumes:
|
|
|
|
root_cache:
|
2023-06-18 00:32:45 +02:00
|
|
|
root_local:
|
2023-06-18 00:32:45 +02:00
|
|
|
root_npm:
|