mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-03 06:42:27 +08:00
* feat: support subdirectory deployment (NEXT_PUBLIC_BASE_PATH) * removed unwanted check and fix favicon issue * Use getAssetUrl for manifest assets to avoid undefined NEXT_PUBLIC_BASE_PATH * Add validation warning for NEXT_PUBLIC_BASE_PATH format --------- Co-authored-by: dayuan.jiang <jdy.toh@gmail.com>
18 lines
495 B
YAML
18 lines
495 B
YAML
services:
|
|
drawio:
|
|
image: jgraph/drawio:latest
|
|
ports: ["8080:8080"]
|
|
next-ai-draw-io:
|
|
build:
|
|
context: .
|
|
args:
|
|
- NEXT_PUBLIC_DRAWIO_BASE_URL=http://localhost:8080
|
|
# Uncomment below for subdirectory deployment
|
|
# - NEXT_PUBLIC_BASE_PATH=/nextaidrawio
|
|
ports: ["3000:3000"]
|
|
env_file: .env
|
|
environment:
|
|
# For subdirectory deployment, uncomment and set your path:
|
|
# NEXT_PUBLIC_BASE_PATH: /nextaidrawio
|
|
depends_on: [drawio]
|