mermaid/docker-compose.yml

23 lines
450 B
YAML
Raw Normal View History

version: '3.9'
services:
mermaid:
image: node:18.16.0-alpine3.18
stdin_open: true
tty: true
working_dir: /mermaid
# mem_reservation: "10M"
mem_limit: '8G'
environment:
- NODE_OPTIONS=--max_old_space_size=8192
volumes:
- ./:/mermaid
2023-06-18 00:32:45 +02:00
- root_cache:/root/.cache
- root_local:/root/.local
2023-06-18 00:32:45 +02:00
- root_local:/root/.npm
2023-06-18 00:32:45 +02:00
ports:
- 9000:9000
2023-06-18 00:32:45 +02:00
volumes:
root_cache:
root_local:
2023-06-18 00:32:45 +02:00
root_npm: