-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
28 lines (28 loc) · 829 Bytes
/
Copy pathcompose.yml
File metadata and controls
28 lines (28 loc) · 829 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
services:
bot:
image: node:22-bookworm-slim
container_name: test-chatbot-local
restart: unless-stopped
init: true
working_dir: /app
command: ["node", "dist/src/index.js"]
env_file:
- .env
environment:
NODE_ENV: production
SQLITE_PATH: /app/data/bot.sqlite
PATH: /usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
volumes:
- ./dist:/app/dist:ro
- ./node_modules:/app/node_modules:ro
- ./data:/app/data
- ./llm:/app/llm:ro
- ./data/bin/yt-dlp:/usr/local/bin/yt-dlp:ro
- ./data/bin/gallery-dl:/usr/local/bin/gallery-dl:ro
- ./data/bin/ffmpeg:/usr/local/bin/ffmpeg:ro
- ./data/bin/ffprobe:/usr/local/bin/ffprobe:ro
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"