From 90c36bb55945f171347dffbdc1b93e697b8fd534 Mon Sep 17 00:00:00 2001 From: huangzhenpc Date: Sat, 7 Feb 2026 14:49:51 +0800 Subject: [PATCH] feat(deploy): use external build + image instead of compose build Build image separately with: docker build -t fireflyapi:latest . Consistent with StarfireAPI deployment pattern. Co-Authored-By: Claude Opus 4.6 --- deploy/docker-compose.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index b5c70186..aab85b55 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -2,9 +2,10 @@ # FireflyAPI Docker Compose Configuration # ============================================================================= # Quick Start: -# 1. Copy .env.example to .env and configure -# 2. docker-compose up -d --build -# 3. Check logs: docker-compose logs -f fireflyapi +# 1. Build image: docker build -t fireflyapi:latest . (in project root) +# 2. Copy .env.example to .env and configure +# 3. docker-compose up -d +# 4. Check logs: docker-compose logs -f fireflyapi # 4. Access: http://localhost:8080 # # All configuration is done via environment variables. @@ -16,9 +17,6 @@ services: # FireflyAPI Application # =========================================================================== fireflyapi: - build: - context: .. - dockerfile: Dockerfile image: fireflyapi:latest container_name: fireflyapi restart: unless-stopped