<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[吉凯]上传文件微服务]]></title><description><![CDATA[<h2>上传文件微服务</h2>
<p dir="auto">本文档用来记录上传服务项目内容</p>
<h2>配置文件参考</h2>
<p dir="auto"><code>instance/config.py</code></p>
<pre><code class="language-python">PORT = 5000
# 该配置为服务器上规划的一个文件夹目录
PLATFORM_DATA_DIR = "/home/lx/services/public_data"
</code></pre>
<blockquote>
<p dir="auto">Note: 在镜像启动时需要使用 -v 将<code>PLATFORM_DATA_DIR</code> 配置的路径1：1映射进来<br />
且其他微服务也需要映射该目录</p>
</blockquote>
<blockquote>
<p dir="auto">Note: 上传微服务使用的端口需要记住，其他项目中需要通过配置 <code>UPLOAD_API_URL = f"http://172.17.0.1:5041/api_upload"</code> 来使用该服务，这里使用docker的网段</p>
</blockquote>
]]></description><link>http://an.forum.genostack.com/topic/954/吉凯-上传文件微服务</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 09:38:48 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/954.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Jul 2023 10:35:53 GMT</pubDate><ttl>60</ttl></channel></rss>