mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
37 lines
677 B
YAML
37 lines
677 B
YAML
services:
|
|
mermaid:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
stdin_open: true
|
|
tty: true
|
|
working_dir: /mermaid
|
|
mem_limit: '8G'
|
|
volumes:
|
|
- ./:/mermaid
|
|
- root_cache:/root/.cache
|
|
- root_local:/root/.local
|
|
- root_npm:/root/.npm
|
|
- /tmp:/tmp
|
|
ports:
|
|
- 9000:9000
|
|
- 3333:3333
|
|
cypress:
|
|
image: cypress/included:13.7.3
|
|
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
|
|
|
|
volumes:
|
|
root_cache:
|
|
root_local:
|
|
root_npm:
|