fix: add Gradio environment variables and remove conflicting command
This commit is contained in:
@@ -160,10 +160,12 @@ services:
|
||||
facefusion:
|
||||
image: ${AI_FACEFUSION_IMAGE:-facefusion/facefusion:3.5.0-cpu}
|
||||
container_name: ${AI_COMPOSE_PROJECT_NAME}_facefusion
|
||||
restart: unless-stopped
|
||||
entrypoint: ["/entrypoint.sh"]
|
||||
command: ['python', '-u', 'facefusion.py', 'run']
|
||||
environment:
|
||||
TZ: ${TIMEZONE:-Europe/Berlin}
|
||||
GRADIO_SERVER_NAME: "0.0.0.0"
|
||||
GRADIO_SERVER_PORT: "7860"
|
||||
volumes:
|
||||
- ai_facefusion_data:/workspace
|
||||
- ./entrypoint.sh:/entrypoint.sh:ro
|
||||
|
||||
@@ -13,4 +13,4 @@ else
|
||||
fi
|
||||
|
||||
echo "Starting Facefusion..."
|
||||
cd /facefusion && exec python -u facefusion.py run --listen 0.0.0.0 --port 7860
|
||||
cd /facefusion && exec python -u facefusion.py run
|
||||
|
||||
Reference in New Issue
Block a user