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 <noreply@anthropic.com>
This commit is contained in:
@@ -2,9 +2,10 @@
|
|||||||
# FireflyAPI Docker Compose Configuration
|
# FireflyAPI Docker Compose Configuration
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# Quick Start:
|
# Quick Start:
|
||||||
# 1. Copy .env.example to .env and configure
|
# 1. Build image: docker build -t fireflyapi:latest . (in project root)
|
||||||
# 2. docker-compose up -d --build
|
# 2. Copy .env.example to .env and configure
|
||||||
# 3. Check logs: docker-compose logs -f fireflyapi
|
# 3. docker-compose up -d
|
||||||
|
# 4. Check logs: docker-compose logs -f fireflyapi
|
||||||
# 4. Access: http://localhost:8080
|
# 4. Access: http://localhost:8080
|
||||||
#
|
#
|
||||||
# All configuration is done via environment variables.
|
# All configuration is done via environment variables.
|
||||||
@@ -16,9 +17,6 @@ services:
|
|||||||
# FireflyAPI Application
|
# FireflyAPI Application
|
||||||
# ===========================================================================
|
# ===========================================================================
|
||||||
fireflyapi:
|
fireflyapi:
|
||||||
build:
|
|
||||||
context: ..
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
image: fireflyapi:latest
|
image: fireflyapi:latest
|
||||||
container_name: fireflyapi
|
container_name: fireflyapi
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user