diff --git a/docker-compose.cluster.yml b/docker-compose.cluster.yml index 540f98d74..9e6a6120b 100644 --- a/docker-compose.cluster.yml +++ b/docker-compose.cluster.yml @@ -15,8 +15,9 @@ services: ports: - "8317:8317" volumes: - - ./home:/root/.cli-proxy-api - - ./logs:/CLIProxyAPI/logs + - ${CLI_PROXY_HOME_PATH:-./home}:/root/.cli-proxy-api + - ${CLI_PROXY_LOG_PATH:-./logs}:/CLIProxyAPI/logs + - ${CLI_PROXY_PLUGIN_PATH:-./plugins}:/CLIProxyAPI/plugins command: > sh -eu -c ' if [ -z "$$HOME_JWT" ]; then @@ -26,4 +27,4 @@ services: exec ./CLIProxyAPI -home-jwt "$$HOME_JWT" ' - restart: unless-stopped \ No newline at end of file + restart: unless-stopped diff --git a/docker-compose.yml b/docker-compose.yml index ad2190c23..2205d30ac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,4 +25,5 @@ services: - ${CLI_PROXY_CONFIG_PATH:-./config.yaml}:/CLIProxyAPI/config.yaml - ${CLI_PROXY_AUTH_PATH:-./auths}:/root/.cli-proxy-api - ${CLI_PROXY_LOG_PATH:-./logs}:/CLIProxyAPI/logs + - ${CLI_PROXY_PLUGIN_PATH:-./plugins}:/CLIProxyAPI/plugins restart: unless-stopped