2024-04-22 18:53:00 +08:00
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
services:
|
|
|
|
drawio:
|
2024-10-11 01:18:00 +08:00
|
|
|
image: jgraph/drawio:24.7.17
|
2024-04-22 18:53:00 +08:00
|
|
|
container_name: drawio
|
|
|
|
hostname: drawio
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- app_network
|
|
|
|
volumes:
|
|
|
|
- /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime:ro
|
|
|
|
environment:
|
|
|
|
- DRAWIO_SELF_CONTAINED=1
|
|
|
|
- DRAWIO_BASE_URL="drawio:8080"
|
|
|
|
- EXPORT_URL="export-server:8000"
|
|
|
|
- PLANTUML_URL="plantuml-server:8080"
|
|
|
|
export-server:
|
|
|
|
image: jgraph/export-server:latest
|
|
|
|
container_name: export-server
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- app_network
|
|
|
|
volumes:
|
|
|
|
- /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime:ro
|
|
|
|
- ./fonts:/usr/share/fonts/drawio
|
|
|
|
environment:
|
|
|
|
- DRAWIO_SERVER_URL="drawio:8080"
|
|
|
|
plantuml-server:
|
2024-10-11 01:18:00 +08:00
|
|
|
image: plantuml/plantuml-server:v1.2024.7
|
2024-04-22 18:53:00 +08:00
|
|
|
container_name: plantuml-server
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- app_network
|
|
|
|
volumes:
|
|
|
|
- /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime:ro
|
|
|
|
- ./fonts:/usr/share/fonts/drawio
|
|
|
|
|
|
|
|
networks:
|
|
|
|
app_network:
|
|
|
|
name: app_network
|
|
|
|
external: true
|
|
|
|
# driver: bridge
|
|
|
|
# driver_opts:
|
|
|
|
# encrypted: 'true'
|
|
|
|
# ipam:
|
|
|
|
# driver: default
|
|
|
|
# config:
|
2024-05-22 17:26:00 +08:00
|
|
|
# - subnet: 10.21.23.1/24
|