-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (48 loc) · 1.26 KB
/
docker-compose.yml
File metadata and controls
52 lines (48 loc) · 1.26 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
version: '3.8'
services:
echo-bot:
build:
context: .
dockerfile: Dockerfile
container_name: echo-bot
restart: unless-stopped
environment:
NODE_ENV: production
TOKEN: ${TOKEN}
CLIENT_ID: ${CLIENT_ID}
DATABASE_URL: ${DATABASE_URL}
OPENAI_API_KEY: ${OPENAI_API_KEY}
TAVILY_API_KEY: ${TAVILY_API_KEY}
# Optional environment variables
GITHUB_TOKEN: ${GITHUB_TOKEN:-}
GITHUB_OWNER: ${GITHUB_OWNER:-}
GITHUB_REPO: ${GITHUB_REPO:-}
volumes:
# Optional: Mount logs directory for persistence
- ./logs:/app/logs
networks:
- echo-network
# Uncomment if you want to use a PostgreSQL container
# depends_on:
# - postgres
# Uncomment to run PostgreSQL in Docker
# postgres:
# image: postgres:16-alpine
# container_name: echo-postgres
# restart: unless-stopped
# environment:
# POSTGRES_USER: ${DB_USER:-echobot}
# POSTGRES_PASSWORD: ${DB_PASSWORD}
# POSTGRES_DB: ${DB_NAME:-echobot}
# volumes:
# - postgres_data:/var/lib/postgresql/data
# networks:
# - echo-network
# ports:
# - "5432:5432"
networks:
echo-network:
driver: bridge
# Uncomment if using PostgreSQL container
# volumes:
# postgres_data: