@ -517,7 +517,7 @@ x-shared-env: &shared-api-worker-env
services:
# API service
api:
image : lan d007 /dify-api:1.5.1
image : lan ggenius /dify-api:1.5.1
restart : always
environment:
# Use the shared environment variables.
@ -537,15 +537,8 @@ services:
redis:
condition : service_started
volumes:
# Mount the storage directory to the container, for storing user files.
- ./volumes/app/storage:/app/api/storage
- ../my_endnode_streaming.patch:/app/my_endnode_streaming.patch
command : >
sh -c "if [ -f /app/my_endnode_streaming.patch ]; then \
cd /app && \
git apply --check my_endnode_streaming.patch && \
git apply my_endnode_streaming.patch || echo 'Patch already applied or not applicable'; \
fi; \
exec /start-api.sh"
networks:
- ssrf_proxy_network
- default
@ -571,15 +564,8 @@ services:
redis:
condition : service_started
volumes:
# Mount the storage directory to the container, for storing user files.
- ./volumes/app/storage:/app/api/storage
- ../my_endnode_streaming.patch:/app/my_endnode_streaming.patch
command : >
sh -c "if [ -f /app/my_endnode_streaming.patch ]; then \
cd /app && \
git apply --check my_endnode_streaming.patch && \
git apply my_endnode_streaming.patch || echo 'Patch already applied or not applicable'; \
fi; \
exec /start-worker.sh"
networks:
- ssrf_proxy_network
- default