-
Notifications
You must be signed in to change notification settings - Fork 139
Expand file tree
/
Copy pathcompose.yml
More file actions
63 lines (63 loc) · 1.7 KB
/
Copy pathcompose.yml
File metadata and controls
63 lines (63 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
services:
app:
build:
context: .
target: app
ports:
- '127.0.0.1:4310:4310'
environment:
OWNER_TOKEN: ${OWNER_TOKEN:?Set a 24+ character OWNER_TOKEN in .env}
APP_ORIGIN: ${APP_ORIGIN:-http://localhost:4310}
OWNER_ID: ${OWNER_ID:-opendots-owner}
INTELLIGENCE_API_KEY: ${INTELLIGENCE_API_KEY:-}
INTELLIGENCE_API_URL: ${INTELLIGENCE_API_URL:-}
INTELLIGENCE_WS_URL: ${INTELLIGENCE_WS_URL:-}
VOICE_API_KEY: ${VOICE_API_KEY:-}
VOICE_MODEL: ${VOICE_MODEL:-}
VOICE_NAME: ${VOICE_NAME:-marin}
SLACK_CHANNEL_NAME: ${SLACK_CHANNEL_NAME:-}
SLACK_TEAM_ID: ${SLACK_TEAM_ID:-}
SLACK_USER_IDS: ${SLACK_USER_IDS:-}
SLACK_DOT_ID: ${SLACK_DOT_ID:-}
OPENAI_API_KEY: ${OPENAI_API_KEY:-}
OPENAI_BASE_URL: ${OPENAI_BASE_URL:-https://api.openai.com/v1}
OPENAI_MODEL: ${OPENAI_MODEL:-}
BROWSER_URL: http://browser:4311
BROWSER_SECRET: ${BROWSER_SECRET:?Set a 24+ character BROWSER_SECRET in .env}
volumes:
- opendots-data:/data
networks:
- browser-link
- app-egress
init: true
restart: unless-stopped
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
browser:
build:
context: .
target: browser
environment:
BROWSER_SECRET: ${BROWSER_SECRET:?Set a 24+ character BROWSER_SECRET in .env}
networks:
- browser-link
- browser-egress
init: true
restart: unless-stopped
shm_size: 256mb
read_only: true
tmpfs:
- /tmp:size=256m
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
networks:
browser-link:
internal: true
app-egress:
browser-egress:
volumes:
opendots-data: