Bumps the development-dependencies group with 3 updates in the /autogpt_platform/backend directory: [pre-commit](https://github.com/pre-commit/pre-commit), [pyright](https://github.com/RobertCraigie/pyright-python) and [ruff](https://github.com/astral-sh/ruff). Updates `pre-commit` from 4.3.0 to 4.4.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pre-commit/pre-commit/releases">pre-commit's releases</a>.</em></p> <blockquote> <h2>pre-commit v4.4.0</h2> <h3>Features</h3> <ul> <li>Add <code>--fail-fast</code> option to <code>pre-commit run</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3528">#3528</a> PR by <a href="https://github.com/JulianMaurin"><code>@JulianMaurin</code></a>.</li> </ul> </li> <li>Upgrade <code>ruby-build</code> / <code>rbenv</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3566">#3566</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3565">#3565</a> issue by <a href="https://github.com/MRigal"><code>@MRigal</code></a>.</li> </ul> </li> <li>Add <code>language: unsupported</code> / <code>language: unsupported_script</code> as aliases for <code>language: system</code> / <code>language: script</code> (which will eventually be deprecated). <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3577">#3577</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> <li>Add support docker-in-docker detection for cgroups v2. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3535">#3535</a> PR by <a href="https://github.com/br-rhrbacek"><code>@br-rhrbacek</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3360">#3360</a> issue by <a href="https://github.com/JasonAlt"><code>@JasonAlt</code></a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li>Handle when docker gives <code>SecurityOptions: null</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3537">#3537</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3514">#3514</a> issue by <a href="https://github.com/jenstroeger"><code>@jenstroeger</code></a>.</li> </ul> </li> <li>Fix error context for invalid <code>stages</code> in <code>.pre-commit-config.yaml</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3576">#3576</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md">pre-commit's changelog</a>.</em></p> <blockquote> <h1>4.4.0 - 2025-11-08</h1> <h3>Features</h3> <ul> <li>Add <code>--fail-fast</code> option to <code>pre-commit run</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3528">#3528</a> PR by <a href="https://github.com/JulianMaurin"><code>@JulianMaurin</code></a>.</li> </ul> </li> <li>Upgrade <code>ruby-build</code> / <code>rbenv</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3566">#3566</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3565">#3565</a> issue by <a href="https://github.com/MRigal"><code>@MRigal</code></a>.</li> </ul> </li> <li>Add <code>language: unsupported</code> / <code>language: unsupported_script</code> as aliases for <code>language: system</code> / <code>language: script</code> (which will eventually be deprecated). <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3577">#3577</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> <li>Add support docker-in-docker detection for cgroups v2. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3535">#3535</a> PR by <a href="https://github.com/br-rhrbacek"><code>@br-rhrbacek</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3360">#3360</a> issue by <a href="https://github.com/JasonAlt"><code>@JasonAlt</code></a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li>Handle when docker gives <code>SecurityOptions: null</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3537">#3537</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3514">#3514</a> issue by <a href="https://github.com/jenstroeger"><code>@jenstroeger</code></a>.</li> </ul> </li> <li>Fix error context for invalid <code>stages</code> in <code>.pre-commit-config.yaml</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3576">#3576</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="17cf886473"><code>17cf886</code></a> v4.4.0</li> <li><a href="cb63a5cb9a"><code>cb63a5c</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3535">#3535</a> from br-rhrbacek/fix-cgroups</li> <li><a href="f80801d75a"><code>f80801d</code></a> Fix docker-in-docker detection for cgroups v2</li> <li><a href="9143fc3545"><code>9143fc3</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3577">#3577</a> from pre-commit/language-unsupported</li> <li><a href="725acc969a"><code>725acc9</code></a> rename system and script languages to unsupported / unsupported_script</li> <li><a href="3815e2e6d8"><code>3815e2e</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3576">#3576</a> from pre-commit/fix-stages-config-error</li> <li><a href="aa2961c122"><code>aa2961c</code></a> fix missing context in error for stages</li> <li><a href="46297f7cd6"><code>46297f7</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3575">#3575</a> from pre-commit/rm-python3-hooks-repo</li> <li><a href="95eec75004"><code>95eec75</code></a> rm python3_hooks_repo</li> <li><a href="5e4b3546f3"><code>5e4b354</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3574">#3574</a> from pre-commit/rm-hook-with-spaces-test</li> <li>Additional commits viewable in <a href="https://github.com/pre-commit/pre-commit/compare/v4.3.0...v4.4.0">compare view</a></li> </ul> </details> <br /> Updates `pyright` from 1.1.406 to 1.1.407 <details> <summary>Commits</summary> <ul> <li><a href="53e8efb463"><code>53e8efb</code></a> Pyright NPM Package update to 1.1.407 (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/356">#356</a>)</li> <li>See full diff in <a href="https://github.com/RobertCraigie/pyright-python/compare/v1.1.406...v1.1.407">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.13.3 to 0.14.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.14.5</h2> <h2>Release Notes</h2> <p>Released on 2025-11-13.</p> <h3>Preview features</h3> <ul> <li>[<code>flake8-simplify</code>] Apply <code>SIM113</code> when index variable is of type <code>int</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21395">#21395</a>)</li> <li>[<code>pydoclint</code>] Fix false positive when Sphinx directives follow a "Raises" section (<code>DOC502</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20535">#20535</a>)</li> <li>[<code>pydoclint</code>] Support NumPy-style comma-separated parameters (<code>DOC102</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20972">#20972</a>)</li> <li>[<code>refurb</code>] Auto-fix annotated assignments (<code>FURB101</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21278">#21278</a>)</li> <li>[<code>ruff</code>] Ignore <code>str()</code> when not used for simple conversion (<code>RUF065</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21330">#21330</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix syntax error false positive on alternative <code>match</code> patterns (<a href="https://redirect.github.com/astral-sh/ruff/pull/21362">#21362</a>)</li> <li>[<code>flake8-simplify</code>] Fix false positive for iterable initializers with generator arguments (<code>SIM222</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21187">#21187</a>)</li> <li>[<code>pyupgrade</code>] Fix false positive on relative imports from local <code>.builtins</code> module (<code>UP029</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21309">#21309</a>)</li> <li>[<code>pyupgrade</code>] Consistently set the deprecated tag (<code>UP035</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21396">#21396</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>refurb</code>] Detect empty f-strings (<code>FURB105</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21348">#21348</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Add option to provide a reason to <code>--add-noqa</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21294">#21294</a>)</li> <li>Add upstream linter URL to <code>ruff linter --output-format=json</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21316">#21316</a>)</li> <li>Add color to <code>--help</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21337">#21337</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add a new "Opening a PR" section to the contribution guide (<a href="https://redirect.github.com/astral-sh/ruff/pull/21298">#21298</a>)</li> <li>Added the PyScripter IDE to the list of "Who is using Ruff?" (<a href="https://redirect.github.com/astral-sh/ruff/pull/21402">#21402</a>)</li> <li>Update PyCharm setup instructions (<a href="https://redirect.github.com/astral-sh/ruff/pull/21409">#21409</a>)</li> <li>[<code>flake8-annotations</code>] Add link to <code>allow-star-arg-any</code> option (<code>ANN401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21326">#21326</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>[<code>configuration</code>] Improve error message when <code>line-length</code> exceeds <code>u16::MAX</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21329">#21329</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/njhearp"><code>@njhearp</code></a></li> <li><a href="https://github.com/11happy"><code>@11happy</code></a></li> <li><a href="https://github.com/hugovk"><code>@hugovk</code></a></li> <li><a href="https://github.com/Gankra"><code>@Gankra</code></a></li> <li><a href="https://github.com/ntBre"><code>@ntBre</code></a></li> <li><a href="https://github.com/pyscripter"><code>@pyscripter</code></a></li> <li><a href="https://github.com/danparizher"><code>@danparizher</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.14.5</h2> <p>Released on 2025-11-13.</p> <h3>Preview features</h3> <ul> <li>[<code>flake8-simplify</code>] Apply <code>SIM113</code> when index variable is of type <code>int</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21395">#21395</a>)</li> <li>[<code>pydoclint</code>] Fix false positive when Sphinx directives follow a "Raises" section (<code>DOC502</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20535">#20535</a>)</li> <li>[<code>pydoclint</code>] Support NumPy-style comma-separated parameters (<code>DOC102</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20972">#20972</a>)</li> <li>[<code>refurb</code>] Auto-fix annotated assignments (<code>FURB101</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21278">#21278</a>)</li> <li>[<code>ruff</code>] Ignore <code>str()</code> when not used for simple conversion (<code>RUF065</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21330">#21330</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix syntax error false positive on alternative <code>match</code> patterns (<a href="https://redirect.github.com/astral-sh/ruff/pull/21362">#21362</a>)</li> <li>[<code>flake8-simplify</code>] Fix false positive for iterable initializers with generator arguments (<code>SIM222</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21187">#21187</a>)</li> <li>[<code>pyupgrade</code>] Fix false positive on relative imports from local <code>.builtins</code> module (<code>UP029</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21309">#21309</a>)</li> <li>[<code>pyupgrade</code>] Consistently set the deprecated tag (<code>UP035</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21396">#21396</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>refurb</code>] Detect empty f-strings (<code>FURB105</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21348">#21348</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Add option to provide a reason to <code>--add-noqa</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21294">#21294</a>)</li> <li>Add upstream linter URL to <code>ruff linter --output-format=json</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21316">#21316</a>)</li> <li>Add color to <code>--help</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21337">#21337</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add a new "Opening a PR" section to the contribution guide (<a href="https://redirect.github.com/astral-sh/ruff/pull/21298">#21298</a>)</li> <li>Added the PyScripter IDE to the list of "Who is using Ruff?" (<a href="https://redirect.github.com/astral-sh/ruff/pull/21402">#21402</a>)</li> <li>Update PyCharm setup instructions (<a href="https://redirect.github.com/astral-sh/ruff/pull/21409">#21409</a>)</li> <li>[<code>flake8-annotations</code>] Add link to <code>allow-star-arg-any</code> option (<code>ANN401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21326">#21326</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>[<code>configuration</code>] Improve error message when <code>line-length</code> exceeds <code>u16::MAX</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21329">#21329</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/njhearp"><code>@njhearp</code></a></li> <li><a href="https://github.com/11happy"><code>@11happy</code></a></li> <li><a href="https://github.com/hugovk"><code>@hugovk</code></a></li> <li><a href="https://github.com/Gankra"><code>@Gankra</code></a></li> <li><a href="https://github.com/ntBre"><code>@ntBre</code></a></li> <li><a href="https://github.com/pyscripter"><code>@pyscripter</code></a></li> <li><a href="https://github.com/danparizher"><code>@danparizher</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="87dafb8787"><code>87dafb8</code></a> Bump 0.14.5 (<a href="https://redirect.github.com/astral-sh/ruff/issues/21435">#21435</a>)</li> <li><a href="9e80e5a3a6"><code>9e80e5a</code></a> [ty] Support <code>type[…]</code> and <code>Type[…]</code> in implicit type aliases (<a href="https://redirect.github.com/astral-sh/ruff/issues/21421">#21421</a>)</li> <li><a href="f9cc26aa12"><code>f9cc26a</code></a> [ty] Respect notebook cell boundaries when adding an auto import (<a href="https://redirect.github.com/astral-sh/ruff/issues/21322">#21322</a>)</li> <li><a href="d49c326309"><code>d49c326</code></a> Update PyCharm setup instructions (<a href="https://redirect.github.com/astral-sh/ruff/issues/21409">#21409</a>)</li> <li><a href="e70fccbf25"><code>e70fccb</code></a> [ty] Improve LSP test server logging (<a href="https://redirect.github.com/astral-sh/ruff/issues/21432">#21432</a>)</li> <li><a href="90b32f3b3b"><code>90b32f3</code></a> [ty] Ensure annotation/type expressions in stub files are always deferred (<a href="https://redirect.github.com/astral-sh/ruff/issues/2">#2</a>...</li> <li><a href="99694b6e4a"><code>99694b6</code></a> Use <code>profiling</code> profile for <code>cargo test(linux, release)</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/21429">#21429</a>)</li> <li><a href="67e54fffe1"><code>67e54ff</code></a> [ty] Fix panic for cyclic star imports (<a href="https://redirect.github.com/astral-sh/ruff/issues/21428">#21428</a>)</li> <li><a href="a01b0d7780"><code>a01b0d7</code></a> [ty] Press 'enter' to rerun all mdtests (<a href="https://redirect.github.com/astral-sh/ruff/issues/21427">#21427</a>)</li> <li><a href="04ab9170d6"><code>04ab917</code></a> [ty] Further improve subscript assignment diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/issues/21411">#21411</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.13.3...0.14.5">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: Zamil Majdy <zamil.majdy@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)
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.default .envThis command will copy the
.env.defaultfile 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. -
After all the services are in ready state, open your browser and navigate to
http://localhost:3000to access the AutoGPT Platform frontend.
Running Just Core services
You can now run the following to enable just the core services.
# For help
make help
# Run just Supabase + Redis + RabbitMQ
make start-core
# Stop core services
make stop-core
# View logs from core services
make logs-core
# Run formatting and linting for backend and frontend
make format
# Run migrations for backend database
make migrate
# Run backend server
make run-backend
# Run frontend development server
make run-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: 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
This will fetch the latest OpenAPI specification and regenerate the TypeScript client code.