forked from Aas-ee/open-webSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
21 lines (20 loc) · 856 Bytes
/
docker-compose.yml
File metadata and controls
21 lines (20 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: "3.8"
services:
web-search:
# image: registry.cn-hangzhou.aliyuncs.com/aasee-share/open-web-search:latest # 国内
image: ghcr.io/aas-ee/open-web-search:latest
container_name: web-search
working_dir: /app
restart: unless-stopped
ports:
- "3000:3000"
# extra_hosts:
# - "host.docker.internal:host-gateway"
environment:
NODE_ENV: production
# DEFAULT_SEARCH_ENGINE: "duckduckgo" # Optional: 'bing' | 'duckduckgo' | 'exa' | 'brave', default bing (optional)
# USE_PROXY: true # Using a proxy (optional)
# PROXY_URL: "http://host.docker.internal:7890" # Using a proxy (optional)
ENABLE_CORS: "true"
CORS_ORIGIN: "*" # Multiple values can be separated by commas and parsed accordingly | 可以多个值逗号分隔,自行解析
command: ["node", "build/index.js"]