feat: fix dify env file

This commit is contained in:
arch3rPro
2025-07-16 13:52:14 +08:00
parent 6bff05a7bc
commit b9234b4279
2 changed files with 10 additions and 10 deletions
+10 -10
View File
@@ -520,7 +520,7 @@ services:
api: api:
image: langgenius/dify-api:1.6.0 image: langgenius/dify-api:1.6.0
env_file: env_file:
- "./env/.env" - dify.env
restart: always restart: always
environment: environment:
# Use the shared environment variables. # Use the shared environment variables.
@@ -551,7 +551,7 @@ services:
worker: worker:
image: langgenius/dify-api:1.6.0 image: langgenius/dify-api:1.6.0
env_file: env_file:
- "./env/.env" - dify.env
restart: always restart: always
environment: environment:
# Use the shared environment variables. # Use the shared environment variables.
@@ -580,7 +580,7 @@ services:
image: langgenius/dify-web:1.6.0 image: langgenius/dify-web:1.6.0
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
env_file: env_file:
- "./env/.env" - dify.env
restart: always restart: always
environment: environment:
CONSOLE_API_URL: ${CONSOLE_API_URL:-} CONSOLE_API_URL: ${CONSOLE_API_URL:-}
@@ -607,7 +607,7 @@ services:
db: db:
image: postgres:15-alpine image: postgres:15-alpine
env_file: env_file:
- "./env/.env" - dify.env
restart: always restart: always
environment: environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres} POSTGRES_USER: ${POSTGRES_USER:-postgres}
@@ -632,7 +632,7 @@ services:
redis: redis:
image: redis:6-alpine image: redis:6-alpine
env_file: env_file:
- "./env/.env" - dify.env
restart: always restart: always
environment: environment:
REDISCLI_AUTH: ${REDIS_PASSWORD:-difyai123456} REDISCLI_AUTH: ${REDIS_PASSWORD:-difyai123456}
@@ -648,7 +648,7 @@ services:
sandbox: sandbox:
image: langgenius/dify-sandbox:0.2.12 image: langgenius/dify-sandbox:0.2.12
env_file: env_file:
- "./env/.env" - dify.env
restart: always restart: always
environment: environment:
# The DifySandbox configurations # The DifySandbox configurations
@@ -674,7 +674,7 @@ services:
plugin_daemon: plugin_daemon:
image: langgenius/dify-plugin-daemon:0.1.3-local image: langgenius/dify-plugin-daemon:0.1.3-local
env_file: env_file:
- "./env/.env" - dify.env
restart: always restart: always
environment: environment:
# Use the shared environment variables. # Use the shared environment variables.
@@ -735,7 +735,7 @@ services:
ssrf_proxy: ssrf_proxy:
image: ubuntu/squid:latest image: ubuntu/squid:latest
env_file: env_file:
- "./env/.env" - dify.env
restart: always restart: always
volumes: volumes:
- ./ssrf_proxy/squid.conf.template:/etc/squid/squid.conf.template - ./ssrf_proxy/squid.conf.template:/etc/squid/squid.conf.template
@@ -757,7 +757,7 @@ services:
nginx: nginx:
image: nginx:latest image: nginx:latest
env_file: env_file:
- "./env/.env" - dify.env
restart: always restart: always
volumes: volumes:
- ./nginx/nginx.conf.template:/etc/nginx/nginx.conf.template - ./nginx/nginx.conf.template:/etc/nginx/nginx.conf.template
@@ -798,7 +798,7 @@ services:
weaviate: weaviate:
image: semitechnologies/weaviate:1.19.0 image: semitechnologies/weaviate:1.19.0
env_file: env_file:
- "./env/.env" - dify.env
profiles: profiles:
- '' - ''
- weaviate - weaviate