forked from agentlogs/agentlogs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (42 loc) · 1019 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (42 loc) · 1019 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
36
37
38
39
40
41
42
43
44
45
services:
db:
image: postgres:16-alpine
environment:
POSTGRES_DB: agentlogs
POSTGRES_USER: agentlogs
POSTGRES_PASSWORD: agentlogs
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
minio:
image: minio/minio
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
ports:
- "9000:9000"
- "9001:9001"
volumes:
- miniodata:/data
web:
build: .
ports:
- "3000:3000"
depends_on:
- db
- minio
environment:
DATABASE_URL: postgres://agentlogs:agentlogs@db:5432/agentlogs
S3_ENDPOINT: http://minio:9000
S3_BUCKET: agentlogs
S3_REGION: us-east-1
S3_ACCESS_KEY: minioadmin
S3_SECRET_KEY: minioadmin
WEB_URL: http://localhost:3000
BETTER_AUTH_SECRET: dev-secret-change-me
# Set GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET for OAuth
volumes:
pgdata:
miniodata: