diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 81823b5f..1ac4f251 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -35,6 +35,7 @@ services: links: - jmalcloud - office + - drawio-webapp restart: always office: container_name: ${CONTAINER_NAME_PREFIX}_office @@ -42,4 +43,10 @@ services: environment: TZ: Asia/Shanghai restart: always + drawio-webapp: + container_name: ${CONTAINER_NAME_PREFIX}_drawio + image: jgraph/drawio:${DRAWIO_IMAGE_VERSION} + environment: + TZ: Asia/Shanghai + restart: always networks: {} diff --git a/docker-compose.example2.yml b/docker-compose.example2.yml index 1bb559a0..1ad16084 100644 --- a/docker-compose.example2.yml +++ b/docker-compose.example2.yml @@ -31,6 +31,7 @@ services: links: - jmalcloud - office + - drawio-webapp restart: unless-stopped office: # Optional container_name: jmalcloud_office @@ -38,3 +39,9 @@ services: environment: TZ: Asia/Shanghai restart: unless-stopped + drawio-webapp: # Optional + container_name: jmalcloud_drawio + image: jgraph/drawio:20.2.3 + environment: + TZ: Asia/Shanghai + restart: unless-stopped