forked from ArjunSahlot/summary_bot_opensource
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
31 lines (29 loc) · 774 Bytes
/
docker-compose.yaml
File metadata and controls
31 lines (29 loc) · 774 Bytes
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
services:
summary-bot:
build:
context: .
args:
INSTALL_DEV: "true"
environment:
ENV: "development"
DEBUGPY_LOG_DIR: "/tmp/debugpy"
DEBUGPY_ENABLE: "true"
DEBUGPY_WAIT: "true"
PYDEVD_DISABLE_FILE_VALIDATION: "1"
OPENAI_API_KEY: "${OPENAI_API_KEY}"
DISCORD_TOKEN: "${DISCORD_TOKEN}"
DEBUGPY_SERVER: 0.0.0.0
DEBUGPY_PORT: 5678
WEBHOOK_LISTEN_SERVER: 0.0.0.0
WEBHOOK_LISTEN_PORT: 8080
ports:
- "8080:8080" # Web service
- "5678:5678" # Debugpy (IDE debugger)
#volumes:
# - /app-live:/app # Optional for live development
command: /entrypoint.sh
deploy:
resources:
limits:
cpus: "1.0"
memory: "2048M"