draw.io 繪圖工具(Docker)
- 安裝環境 :
- VM : 4 vCores / 8G RAM / 16G(SSD)
安裝方式
- 編輯 docker-compose.yml
vi docker-compose.yml
#This compose file adds draw.io to your stack version: '3.5' services: drawio: image: jgraph/drawio container_name: drawio restart: unless-stopped ports: - 8081:8080 - 8443:8443 environment: PUBLIC_DNS: domain ORGANISATION_UNIT: unit ORGANISATION: org CITY: city STATE: state COUNTRY_CODE: country healthcheck: test: ["CMD-SHELL", "curl -f http://localhost:8081 || exit 1"] interval: 1m30s timeout: 10s retries: 5 start_period: 10s
- 啟動服務
docker compose up -d
- 進入 Web 畫面 - http://Server-IP:8081