feat(deploy): use external build + image instead of compose build
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled

Build image separately with: docker build -t fireflyapi:latest .
Consistent with StarfireAPI deployment pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 14:49:51 +08:00
parent 8a22b95906
commit 90c36bb559

View File

@@ -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