-
Notifications
You must be signed in to change notification settings - Fork 259
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (50 loc) · 1.38 KB
/
docker-compose.yml
File metadata and controls
54 lines (50 loc) · 1.38 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
version: '3.8'
services:
devcontainer:
build:
context: .
dockerfile: Dockerfile
volumes:
- ..:/workspaces/sourcebot:cached
- go-modules:/home/node/go
- yarn-cache:/home/node/.yarn/berry/cache
command: sleep infinity
ports:
- "3000:3000"
environment:
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/postgres
REDIS_URL: redis://redis:6379
ZOEKT_WEBSERVER_URL: http://localhost:6070
CTAGS_COMMAND: ctags
AUTH_SECRET: "00000000000000000000000000000000000000000000"
AUTH_URL: http://localhost:3000
DATA_CACHE_DIR: /workspaces/sourcebot/.sourcebot
SOURCEBOT_ENCRYPTION_KEY: "00000000000000000000000000000000"
NODE_ENV: development
SOURCEBOT_LOG_LEVEL: debug
SOURCEBOT_TELEMETRY_DISABLED: "true"
REVIEW_AGENT_LOGGING_ENABLED: "true"
REVIEW_AGENT_AUTO_REVIEW_ENABLED: "false"
REVIEW_AGENT_REVIEW_COMMAND: review
depends_on:
- postgres
- redis
postgres:
image: postgres:16-alpine
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
restart: unless-stopped
redis:
image: redis:7-alpine
volumes:
- redis-data:/data
restart: unless-stopped
volumes:
go-modules:
yarn-cache:
postgres-data:
redis-data: