|
|
|
@@ -11,12 +11,18 @@ services: |
|
|
|
LOG_LEVEL: INFO |
|
|
|
# A secret key that is used for securely signing the session cookie and encrypting sensitive information on the database. You can generate a strong key using `openssl rand -base64 42`. |
|
|
|
SECRET_KEY: sk-9f73s3ljTXVcMT3Blb3ljTqtsKiGHXVcMT3BlbkFJLK7U |
|
|
|
# The base URL of console application, refers to the Console base URL of WEB service. |
|
|
|
CONSOLE_URL: http://localhost |
|
|
|
# The URL for Service API endpoints,refers to the base URL of the current API service. |
|
|
|
API_URL: http://localhost |
|
|
|
# The URL for Web APP, refers to the Web App base URL of WEB service. |
|
|
|
APP_URL: http://localhost |
|
|
|
# The base URL of console application, refers to the Console base URL of WEB service if console domain is |
|
|
|
# different from api or web app domain. |
|
|
|
# example: http://cloud.dify.ai |
|
|
|
CONSOLE_URL: '' |
|
|
|
# The URL for Service API endpoints,refers to the base URL of the current API service if api domain is |
|
|
|
# different from console domain. |
|
|
|
# example: http://api.dify.ai |
|
|
|
API_URL: '' |
|
|
|
# The URL for Web APP, refers to the Web App base URL of WEB service if web app domain is different from |
|
|
|
# console or api domain. |
|
|
|
# example: http://udify.app |
|
|
|
APP_URL: '' |
|
|
|
# When enabled, migrations will be executed prior to application startup and the application will start after the migrations have completed. |
|
|
|
MIGRATION_ENABLED: 'true' |
|
|
|
# The configurations of postgres database connection. |
|
|
|
@@ -113,12 +119,6 @@ services: |
|
|
|
# A secret key that is used for securely signing the session cookie and encrypting sensitive information on the database. You can generate a strong key using `openssl rand -base64 42`. |
|
|
|
# same as the API service |
|
|
|
SECRET_KEY: sk-9f73s3ljTXVcMT3Blb3ljTqtsKiGHXVcMT3BlbkFJLK7U |
|
|
|
# The base URL of console application, refers to the Console base URL of WEB service. |
|
|
|
CONSOLE_URL: http://localhost |
|
|
|
# The URL for Service API endpoints,refers to the base URL of the current API service. |
|
|
|
API_URL: http://localhost |
|
|
|
# The URL for Web APP, refers to the Web App base URL of WEB service. |
|
|
|
APP_URL: http://localhost |
|
|
|
# The configurations of postgres database connection. |
|
|
|
# It is consistent with the configuration in the 'db' service below. |
|
|
|
DB_USERNAME: postgres |
|
|
|
@@ -154,10 +154,14 @@ services: |
|
|
|
restart: always |
|
|
|
environment: |
|
|
|
EDITION: SELF_HOSTED |
|
|
|
# The base URL of console application, refers to the Console base URL of WEB service. |
|
|
|
CONSOLE_URL: http://localhost |
|
|
|
# The URL for Web APP, refers to the Web App base URL of WEB service. |
|
|
|
APP_URL: http://localhost |
|
|
|
# The base URL of console application, refers to the Console base URL of WEB service if console domain is |
|
|
|
# different from api or web app domain. |
|
|
|
# example: http://cloud.dify.ai |
|
|
|
CONSOLE_URL: '' |
|
|
|
# The URL for Web APP, refers to the Web App base URL of WEB service if web app domain is different from |
|
|
|
# console or api domain. |
|
|
|
# example: http://udify.app |
|
|
|
APP_URL: '' |
|
|
|
|
|
|
|
# The postgres database. |
|
|
|
db: |