summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYaoSiQian <2229561981@qq.com>2025-06-24 05:00:34 +0800
committerGitHub <noreply@github.com>2025-06-24 05:00:34 +0800
commitb772c6f68e81c4c88186219dc841a14ab278cf50 (patch)
tree07a6a03f7c53de456ef291ef00cb370691ba5e69 /README.md
parenta6a520db70ef639e066d1012fa2ecf7e26c53049 (diff)
downloadopencut-b772c6f68e81c4c88186219dc841a14ab278cf50.tar.gz
fix(docker): web service
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3ccb2b04..998acd36 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,20 @@ A free, open-source video editor for web, desktop, and mobile.
4. **Open in browser:**
Visit [http://localhost:3000](http://localhost:3000)
+## Run with Docker
+1. **Prepare environment variables:**
+ Edit [docker-compose.yaml](https://github.com/OpenCut-app/OpenCut/blob/main/docker-compose.yaml#L57-L64)
+2. **Build and run:**
+ ```bash
+ docker-compose up -d --build
+ ```
+3. *(Optional)* **Migrate database:**
+ ```bash
+ docker-compose exec web bun run db:migrate
+ ```
+4. **Open in browser:**
+ Visit [http://localhost:3000](http://localhost:3000)
+
## Contributing
## License