mermaid/docker-compose.yml

37 lines
717 B
YAML
Raw Normal View History

version: '3.9'
services:
mermaid:
image: node:18.19.0-alpine3.18
stdin_open: true
tty: true
working_dir: /mermaid
2023-08-25 11:55:26 +02:00
mem_limit: '4G'
environment:
2023-08-25 11:55:26 +02:00
- NODE_OPTIONS=--max_old_space_size=4096
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
2023-06-18 00:32:45 +02:00
ports:
- 9000:9000
- 3333:3333
cypress:
image: cypress/included:12.17.4
stdin_open: true
tty: true
working_dir: /mermaid
mem_limit: '2G'
entrypoint: cypress
environment:
- DISPLAY
volumes:
- ./:/mermaid
- /tmp/.X11-unix:/tmp/.X11-unix
network_mode: host
2023-06-18 00:32:45 +02:00
volumes:
root_cache:
root_local:
2023-06-18 00:32:45 +02:00
root_npm: