From 7402e2aabbcb2ff0d0af84d59146a4edf80d12c9 Mon Sep 17 00:00:00 2001 From: Justin Date: Mon, 13 May 2024 11:59:22 -0400 Subject: [PATCH] Update Docker Compose migration example I added an extra bash command I find useful for my workspace. Just a quick one-liner so it can easily be copied into a script. --- .../self-host/community-edition/install-and-build.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/documentation/self-host/community-edition/install-and-build.mdx b/documentation/self-host/community-edition/install-and-build.mdx index 5ea8361a..f7944046 100644 --- a/documentation/self-host/community-edition/install-and-build.mdx +++ b/documentation/self-host/community-edition/install-and-build.mdx @@ -240,3 +240,9 @@ Note: If user is using `docker compose` to run the services the following comman ```bash docker compose run --entrypoint sh ``` + +Migrations with Docker Compose can also be handled with a single command. + +```bash +docker compose run --entrypoint "sh -c 'pnpx prisma migrate deploy'" +```