瀏覽代碼

add topdf

animeic 2 年之前
父節點
當前提交
422739d66e
共有 1 個文件被更改,包括 10 次插入1 次删除
  1. 10 1
      docker-compose.yaml

+ 10 - 1
docker-compose.yaml

@@ -78,4 +78,13 @@ services:
     depends_on:
       - box-bus
     environment: 
-      NATS: nats://box-bus:4222
+      NATS: nats://box-bus:4222
+
+  # excel 转pdf
+  office-pdf:
+    image: thecodingmachine/gotenberg:6.4.4
+    restart: always
+    depends_on:
+      - box-cost
+    environment: 
+      PDF_API_ADDR: http://office-pdf:3000