mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
feat: Introduce a dedicated FFmpeg microservice for video processing, integrated into the Docker Compose setup.
This commit is contained in:
1 parent
8fde238369
commit
e29048d374
5 files changed
+235
No files matched your search
@@ -38,6 +38,9 @@ services:
|
||||
OPENROUTER_API_KEY: ${OPENROUTER_API_KEY}
|
||||
SESSION_SECRET: ${SESSION_SECRET:-your-secret-key-change-me}
|
||||
APP_URL: ${APP_URL:-http://localhost:5555}
|
||||
# Configuration FFmpeg Service
|
||||
FFMPEG_API_URL: http://ffmpeg-api:8000
|
||||
FFMPEG_API_KEY: ${FFMPEG_API_KEY:-socialflow-secret-ffmpeg-key}
|
||||
networks:
|
||||
- internal
|
||||
- nginx_default
|
||||
@@ -48,6 +51,20 @@ services:
|
||||
- encryption_key:/app/.encryption-key-data
|
||||
command: npm run start
|
||||
|
||||
# Service FFmpeg dédié
|
||||
ffmpeg-api:
|
||||
build:
|
||||
context: ./ffmpeg-service
|
||||
dockerfile: Dockerfile
|
||||
container_name: socialflow-ffmpeg
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
API_KEY: ${FFMPEG_API_KEY:-socialflow-secret-ffmpeg-key}
|
||||
networks:
|
||||
- internal
|
||||
expose:
|
||||
- "8000"
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
driver: local
|
||||
|
||||
Reference in new issue
Block a user