forked from vsilent/stackdog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (35 loc) · 908 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (35 loc) · 908 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
32
33
34
35
services:
stackdog:
image: trydirect/stackdog:latest
ports:
- target: 5000
published: 5000
environment:
APP_HOST: 0.0.0.0
APP_PORT: 5000
DATABASE_URL: /data/stackdog.db
STACKDOG_SNIFF_INTERVAL: 600
STACKDOG_AI_PROVIDER: openai
STACKDOG_AI_API_URL: https://api.openai.com/v1
STACKDOG_AI_MODEL: gpt-4o-mini
STACKDOG_AI_API_KEY: <yourkeyhere>
STACKDOG_SLACK_WEBHOOK_URL: <yourslackchannelwebhook?
STACKDOG_LOG_SOURCES: /var/log/syslog,/var/log/auth.log
restart: unless-stopped
volumes:
- source: stackdog-data
target: /data
type: volume
- source: /var/run/docker.sock
target: /var/run/docker.sock
type: bind
networks:
- default_network
command: serve
volumes:
stackdog-data:
name: stackdog-data
networks:
default_network:
external: true
name: default_network