Bumps the production-dependencies group with 4 updates in the /autogpt_platform/backend directory: [groq](https://github.com/groq/groq-python), [launchdarkly-server-sdk](https://github.com/launchdarkly/python-server-sdk), [openai](https://github.com/openai/openai-python) and [sentry-sdk](https://github.com/getsentry/sentry-python). Updates `groq` from 0.29.0 to 0.30.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/groq/groq-python/releases">groq's releases</a>.</em></p> <blockquote> <h2>v0.30.0</h2> <h2>0.30.0 (2025-07-11)</h2> <p>Full Changelog: <a href="https://github.com/groq/groq-python/compare/v0.29.0...v0.30.0">v0.29.0...v0.30.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> api update (<a href="55abbbc39b">55abbbc</a>)</li> <li><strong>api:</strong> api update (<a href="cbd7df040d">cbd7df0</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>ci:</strong> correct conditional (<a href="a470509421">a470509</a>)</li> <li><strong>ci:</strong> release-doctor — report correct token name (<a href="b036bba0a7">b036bba</a>)</li> <li><strong>parsing:</strong> correctly handle nested discriminated unions (<a href="f57dd03354">f57dd03</a>)</li> <li>performance tier enum overloads (<a href="dc7c41bdfc">dc7c41b</a>)</li> </ul> <h3>Chores</h3> <ul> <li>Add bklieger-groq to CODEOWNERS (<a href="5b9fc30d6a">5b9fc30</a>)</li> <li><strong>ci:</strong> change upload type (<a href="7044a2b6fb">7044a2b</a>)</li> <li><strong>ci:</strong> only run for pushes and fork pull requests (<a href="dc1b9eea77">dc1b9ee</a>)</li> <li>fix code owners (<a href="464ada9d4c">464ada9</a>)</li> <li><strong>internal:</strong> bump pinned h11 dep (<a href="47bddbdf76">47bddbd</a>)</li> <li><strong>internal:</strong> codegen related update (<a href="9d7f071f79">9d7f071</a>)</li> <li><strong>package:</strong> mark python 3.13 as supported (<a href="55353b9f79">55353b9</a>)</li> <li><strong>readme:</strong> fix version rendering on pypi (<a href="e145b51351">e145b51</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/groq/groq-python/blob/main/CHANGELOG.md">groq's changelog</a>.</em></p> <blockquote> <h2>0.30.0 (2025-07-11)</h2> <p>Full Changelog: <a href="https://github.com/groq/groq-python/compare/v0.29.0...v0.30.0">v0.29.0...v0.30.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> api update (<a href="55abbbc39b">55abbbc</a>)</li> <li><strong>api:</strong> api update (<a href="cbd7df040d">cbd7df0</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>ci:</strong> correct conditional (<a href="a470509421">a470509</a>)</li> <li><strong>ci:</strong> release-doctor — report correct token name (<a href="b036bba0a7">b036bba</a>)</li> <li><strong>parsing:</strong> correctly handle nested discriminated unions (<a href="f57dd03354">f57dd03</a>)</li> <li>performance tier enum overloads (<a href="dc7c41bdfc">dc7c41b</a>)</li> </ul> <h3>Chores</h3> <ul> <li>Add bklieger-groq to CODEOWNERS (<a href="5b9fc30d6a">5b9fc30</a>)</li> <li><strong>ci:</strong> change upload type (<a href="7044a2b6fb">7044a2b</a>)</li> <li><strong>ci:</strong> only run for pushes and fork pull requests (<a href="dc1b9eea77">dc1b9ee</a>)</li> <li>fix code owners (<a href="464ada9d4c">464ada9</a>)</li> <li><strong>internal:</strong> bump pinned h11 dep (<a href="47bddbdf76">47bddbd</a>)</li> <li><strong>internal:</strong> codegen related update (<a href="9d7f071f79">9d7f071</a>)</li> <li><strong>package:</strong> mark python 3.13 as supported (<a href="55353b9f79">55353b9</a>)</li> <li><strong>readme:</strong> fix version rendering on pypi (<a href="e145b51351">e145b51</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="c7d91561ec"><code>c7d9156</code></a> release: 0.30.0 (<a href="https://redirect.github.com/groq/groq-python/issues/247">#247</a>)</li> <li><a href="464ada9d4c"><code>464ada9</code></a> chore: fix code owners</li> <li><a href="5b9fc30d6a"><code>5b9fc30</code></a> chore: Add bklieger-groq to CODEOWNERS</li> <li>See full diff in <a href="https://github.com/groq/groq-python/compare/v0.29.0...v0.30.0">compare view</a></li> </ul> </details> <br /> Updates `launchdarkly-server-sdk` from 9.11.1 to 9.12.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/launchdarkly/python-server-sdk/releases">launchdarkly-server-sdk's releases</a>.</em></p> <blockquote> <h2>v9.12.0</h2> <h2><a href="https://github.com/launchdarkly/python-server-sdk/compare/9.11.1...9.12.0">9.12.0</a> (2025-07-11)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>Drop support for Python 3.8 (eol 2024-10-07) (<a href="https://redirect.github.com/launchdarkly/python-server-sdk/issues/339">#339</a>)</li> </ul> <h3>Features</h3> <ul> <li>Add support for plugins. (<a href="https://redirect.github.com/launchdarkly/python-server-sdk/issues/337">#337</a>) (<a href="241f6f49b2">241f6f4</a>)</li> <li>Drop support for Python 3.8 (eol 2024-10-07) (<a href="https://redirect.github.com/launchdarkly/python-server-sdk/issues/339">#339</a>) (<a href="0207665006">0207665</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/launchdarkly/python-server-sdk/blob/main/CHANGELOG.md">launchdarkly-server-sdk's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/launchdarkly/python-server-sdk/compare/9.11.1...9.12.0">9.12.0</a> (2025-07-11)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>Drop support for Python 3.8 (eol 2024-10-07) (<a href="https://redirect.github.com/launchdarkly/python-server-sdk/issues/339">#339</a>)</li> </ul> <h3>Features</h3> <ul> <li>Add support for plugins. (<a href="https://redirect.github.com/launchdarkly/python-server-sdk/issues/337">#337</a>) (<a href="241f6f49b2">241f6f4</a>)</li> <li>Drop support for Python 3.8 (eol 2024-10-07) (<a href="https://redirect.github.com/launchdarkly/python-server-sdk/issues/339">#339</a>) (<a href="0207665006">0207665</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="60ce4d1cc0"><code>60ce4d1</code></a> chore(main): release 9.12.0 (<a href="https://redirect.github.com/launchdarkly/python-server-sdk/issues/340">#340</a>)</li> <li><a href="241f6f49b2"><code>241f6f4</code></a> feat: Add support for plugins. (<a href="https://redirect.github.com/launchdarkly/python-server-sdk/issues/337">#337</a>)</li> <li><a href="a4955620ce"><code>a495562</code></a> chore: Add missing make target; update poetry instructions (<a href="https://redirect.github.com/launchdarkly/python-server-sdk/issues/338">#338</a>)</li> <li><a href="a8eeb1ecc3"><code>a8eeb1e</code></a> chore: Adjust release version (<a href="https://redirect.github.com/launchdarkly/python-server-sdk/issues/341">#341</a>)</li> <li><a href="0207665006"><code>0207665</code></a> feat!: Drop support for Python 3.8 (eol 2024-10-07) (<a href="https://redirect.github.com/launchdarkly/python-server-sdk/issues/339">#339</a>)</li> <li>See full diff in <a href="https://github.com/launchdarkly/python-server-sdk/compare/9.11.1...9.12.0">compare view</a></li> </ul> </details> <br /> Updates `openai` from 1.93.2 to 1.96.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/openai/openai-python/releases">openai's releases</a>.</em></p> <blockquote> <h2>v1.96.0</h2> <h2>1.96.0 (2025-07-15)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v1.95.1...v1.96.0">v1.95.1...v1.96.0</a></p> <h3>Features</h3> <ul> <li>clean up environment call outs (<a href="87c2e979e0">87c2e97</a>)</li> </ul> <h3>Chores</h3> <ul> <li><strong>api:</strong> update realtime specs, build config (<a href="bf06d88b33">bf06d88</a>)</li> </ul> <h2>v1.95.1</h2> <h2>1.95.1 (2025-07-11)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v1.95.0...v1.95.1">v1.95.0...v1.95.1</a></p> <h3>Bug Fixes</h3> <ul> <li><strong>client:</strong> don't send Content-Type header on GET requests (<a href="182b763065">182b763</a>)</li> </ul> <h2>v1.95.0</h2> <h2>1.95.0 (2025-07-10)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v1.94.0...v1.95.0">v1.94.0...v1.95.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> add file_url, fix event ID (<a href="265e216396">265e216</a>)</li> </ul> <h3>Chores</h3> <ul> <li><strong>readme:</strong> fix version rendering on pypi (<a href="1eee5cabf2">1eee5ca</a>)</li> </ul> <h2>v1.94.0</h2> <h2>1.94.0 (2025-07-10)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v1.93.3...v1.94.0">v1.93.3...v1.94.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> return better error message on missing embedding (<a href="https://redirect.github.com/openai/openai-python/issues/2369">#2369</a>) (<a href="e53464ae95">e53464a</a>)</li> </ul> <h2>v1.93.3</h2> <h2>1.93.3 (2025-07-09)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v1.93.2...v1.93.3">v1.93.2...v1.93.3</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/openai/openai-python/blob/main/CHANGELOG.md">openai's changelog</a>.</em></p> <blockquote> <h2>1.96.0 (2025-07-15)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v1.95.1...v1.96.0">v1.95.1...v1.96.0</a></p> <h3>Features</h3> <ul> <li>clean up environment call outs (<a href="87c2e979e0">87c2e97</a>)</li> </ul> <h3>Chores</h3> <ul> <li><strong>api:</strong> update realtime specs, build config (<a href="bf06d88b33">bf06d88</a>)</li> </ul> <h2>1.95.1 (2025-07-11)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v1.95.0...v1.95.1">v1.95.0...v1.95.1</a></p> <h3>Bug Fixes</h3> <ul> <li><strong>client:</strong> don't send Content-Type header on GET requests (<a href="182b763065">182b763</a>)</li> </ul> <h2>1.95.0 (2025-07-10)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v1.94.0...v1.95.0">v1.94.0...v1.95.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> add file_url, fix event ID (<a href="265e216396">265e216</a>)</li> </ul> <h3>Chores</h3> <ul> <li><strong>readme:</strong> fix version rendering on pypi (<a href="1eee5cabf2">1eee5ca</a>)</li> </ul> <h2>1.94.0 (2025-07-10)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v1.93.3...v1.94.0">v1.93.3...v1.94.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> return better error message on missing embedding (<a href="https://redirect.github.com/openai/openai-python/issues/2369">#2369</a>) (<a href="e53464ae95">e53464a</a>)</li> </ul> <h2>1.93.3 (2025-07-09)</h2> <p>Full Changelog: <a href="https://github.com/openai/openai-python/compare/v1.93.2...v1.93.3">v1.93.2...v1.93.3</a></p> <h3>Bug Fixes</h3> <ul> <li><strong>parsing:</strong> correctly handle nested discriminated unions (<a href="fc8a67715d">fc8a677</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="1d77265e3d"><code>1d77265</code></a> release: 1.96.0</li> <li><a href="34a5651648"><code>34a5651</code></a> chore(api): update realtime specs, build config</li> <li><a href="1cb2bf6e0a"><code>1cb2bf6</code></a> codegen metadata</li> <li><a href="2028ad2b95"><code>2028ad2</code></a> feat: clean up environment call outs</li> <li><a href="1c0b464205"><code>1c0b464</code></a> release: 1.95.1</li> <li><a href="05e3755b8f"><code>05e3755</code></a> codegen metadata</li> <li><a href="043589aebf"><code>043589a</code></a> codegen metadata</li> <li><a href="0fa4028ac5"><code>0fa4028</code></a> codegen metadata</li> <li><a href="fcbb59831c"><code>fcbb598</code></a> fix(client): don't send Content-Type header on GET requests</li> <li><a href="db5c35049a"><code>db5c350</code></a> release: 1.95.0 (<a href="https://redirect.github.com/openai/openai-python/issues/2456">#2456</a>)</li> <li>Additional commits viewable in <a href="https://github.com/openai/openai-python/compare/v1.93.2...v1.96.0">compare view</a></li> </ul> </details> <br /> Updates `sentry-sdk` from 2.32.0 to 2.33.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/releases">sentry-sdk's releases</a>.</em></p> <blockquote> <h2>2.33.0</h2> <h3>Various fixes & improvements</h3> <ul> <li>feat(langchain): Support <code>BaseCallbackManager</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4486">#4486</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>Use <code>span.data</code> instead of <code>measurements</code> for token usage (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4567">#4567</a>) by <a href="https://github.com/antonpirker"><code>@antonpirker</code></a></li> <li>Fix custom model name (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4569">#4569</a>) by <a href="https://github.com/antonpirker"><code>@antonpirker</code></a></li> <li>fix: shut down "session flusher" more promptly (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4561">#4561</a>) by <a href="https://github.com/bukzor"><code>@bukzor</code></a></li> <li>chore: Remove Lambda urllib3 pin on Python 3.10+ (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4549">#4549</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md">sentry-sdk's changelog</a>.</em></p> <blockquote> <h2>2.33.0</h2> <h3>Various fixes & improvements</h3> <ul> <li>feat(langchain): Support <code>BaseCallbackManager</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4486">#4486</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></li> <li>Use <code>span.data</code> instead of <code>measurements</code> for token usage (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4567">#4567</a>) by <a href="https://github.com/antonpirker"><code>@antonpirker</code></a></li> <li>Fix custom model name (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4569">#4569</a>) by <a href="https://github.com/antonpirker"><code>@antonpirker</code></a></li> <li>fix: shut down "session flusher" more promptly (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4561">#4561</a>) by <a href="https://github.com/bukzor"><code>@bukzor</code></a></li> <li>chore: Remove Lambda urllib3 pin on Python 3.10+ (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4549">#4549</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="98b107fd21"><code>98b107f</code></a> meta: Update CHANGELOG.md</li> <li><a href="220a235bdc"><code>220a235</code></a> release: 2.33.0</li> <li><a href="a1f62bada1"><code>a1f62ba</code></a> feat(langchain): Support <code>BaseCallbackManager</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4486">#4486</a>)</li> <li><a href="c31ba06e17"><code>c31ba06</code></a> tests: Regenerate tox.ini (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4583">#4583</a>)</li> <li><a href="1cba56ae83"><code>1cba56a</code></a> Remove all forked markers in test_api (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4576">#4576</a>)</li> <li><a href="7d7027a586"><code>7d7027a</code></a> Remove forked marker in client uwsgi test (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4575">#4575</a>)</li> <li><a href="710227aebf"><code>710227a</code></a> Fix pytest collection warning (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4574">#4574</a>)</li> <li><a href="30ad1b26c7"><code>30ad1b2</code></a> Remove print statements from excepthook test (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4573">#4573</a>)</li> <li><a href="6f71a1bb1d"><code>6f71a1b</code></a> Use <code>span.data</code> instead of <code>measurements</code> for token usage (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4567">#4567</a>)</li> <li><a href="1df6c9a984"><code>1df6c9a</code></a> Fix custom model name (<a href="https://redirect.github.com/getsentry/sentry-python/issues/4569">#4569</a>)</li> <li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-python/compare/2.32.0...2.33.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
AutoGPT Platform
Welcome to the AutoGPT Platform - a powerful system for creating and running AI agents to solve business problems. This platform enables you to harness the power of artificial intelligence to automate tasks, analyze data, and generate insights for your organization.
Getting Started
Prerequisites
- Docker
- Docker Compose V2 (comes with Docker Desktop, or can be installed separately)
- Node.js & NPM (for running the frontend application)
Running the System
To run the AutoGPT Platform, follow these steps:
-
Clone this repository to your local machine and navigate to the
autogpt_platformdirectory within the repository:git clone <https://github.com/Significant-Gravitas/AutoGPT.git | git@github.com:Significant-Gravitas/AutoGPT.git> cd AutoGPT/autogpt_platform -
Run the following command:
cp .env.example .envThis command will copy the
.env.examplefile to.env. You can modify the.envfile to add your own environment variables. -
Run the following command:
docker compose up -dThis command will start all the necessary backend services defined in the
docker-compose.ymlfile in detached mode. -
Navigate to
frontendwithin theautogpt_platformdirectory:cd frontendYou will need to run your frontend application separately on your local machine.
-
Run the following command:
cp .env.example .env.localThis command will copy the
.env.examplefile to.env.localin thefrontenddirectory. You can modify the.env.localwithin this folder to add your own environment variables for the frontend application. -
Run the following command:
Enable corepack and install dependencies by running:
corepack enable pnpm iGenerate the API client (this step is required before running the frontend):
pnpm generate:api-clientThen start the frontend application in development mode:
pnpm dev -
Open your browser and navigate to
http://localhost:3000to access the AutoGPT Platform frontend.
Docker Compose Commands
Here are some useful Docker Compose commands for managing your AutoGPT Platform:
docker compose up -d: Start the services in detached mode.docker compose stop: Stop the running services without removing them.docker compose rm: Remove stopped service containers.docker compose build: Build or rebuild services.docker compose down: Stop and remove containers, networks, and volumes.docker compose watch: Watch for changes in your services and automatically update them.
Sample Scenarios
Here are some common scenarios where you might use multiple Docker Compose commands:
-
Updating and restarting a specific service:
docker compose build api_srv docker compose up -d --no-deps api_srvThis rebuilds the
api_srvservice and restarts it without affecting other services. -
Viewing logs for troubleshooting:
docker compose logs -f api_srv ws_srvThis shows and follows the logs for both
api_srvandws_srvservices. -
Scaling a service for increased load:
docker compose up -d --scale executor=3This scales the
executorservice to 3 instances to handle increased load. -
Stopping the entire system for maintenance:
docker compose stop docker compose rm -f docker compose pull docker compose up -dThis stops all services, removes containers, pulls the latest images, and restarts the system.
-
Developing with live updates:
docker compose watchThis watches for changes in your code and automatically updates the relevant services.
-
Checking the status of services:
docker compose psThis shows the current status of all services defined in your docker-compose.yml file.
These scenarios demonstrate how to use Docker Compose commands in combination to manage your AutoGPT Platform effectively.
Persisting Data
To persist data for PostgreSQL and Redis, you can modify the docker-compose.yml file to add volumes. Here's how:
-
Open the
docker-compose.ymlfile in a text editor. -
Add volume configurations for PostgreSQL and Redis services:
services: postgres: # ... other configurations ... volumes: - postgres_data:/var/lib/postgresql/data redis: # ... other configurations ... volumes: - redis_data:/data volumes: postgres_data: redis_data: -
Save the file and run
docker compose up -dto apply the changes.
This configuration will create named volumes for PostgreSQL and Redis, ensuring that your data persists across container restarts.
API Client Generation
The platform includes scripts for generating and managing the API client:
pnpm fetch:openapi: Fetches the OpenAPI specification from the backend service (requires backend to be running on port 8006)pnpm generate:api-client: Generates the TypeScript API client from the OpenAPI specification using Orvalpnpm generate:api-all: Runs both fetch and generate commands in sequence
Manual API Client Updates
If you need to update the API client after making changes to the backend API:
-
Ensure the backend services are running:
docker compose up -d -
Generate the updated API client:
pnpm generate:api-all
This will fetch the latest OpenAPI specification and regenerate the TypeScript client code.