this repo has no description
1services:
2 app:
3 build:
4 context: .
5 dockerfile: Dockerfile
6 image: bspds
7 ports:
8 - "3000:3000"
9 env_file:
10 - ./.env
11 environment:
12 DATABASE_URL: postgres://postgres:postgres@db:5432/pds
13 S3_ENDPOINT: http://objsto:9000
14 VALKEY_URL: redis://cache:6379
15 depends_on:
16 - db
17 - objsto
18 - cache
19
20 db:
21 image: postgres:18-alpine
22 environment:
23 POSTGRES_USER: postgres
24 POSTGRES_PASSWORD: postgres
25 POSTGRES_DB: pds
26 ports:
27 - "5432:5432"
28 volumes:
29 - postgres_data:/var/lib/postgresql
30
31 objsto:
32 image: minio/minio
33 ports:
34 - "9000:9000"
35 - "9001:9001"
36 environment:
37 MINIO_ROOT_USER: minioadmin
38 MINIO_ROOT_PASSWORD: minioadmin
39 volumes:
40 - minio_data:/data
41 command: server /data --console-address ":9001"
42
43 cache:
44 image: valkey/valkey:8-alpine
45 ports:
46 - "6379:6379"
47 volumes:
48 - valkey_data:/data
49
50 prometheus:
51 image: prom/prometheus:v3.8.0
52 ports:
53 - "9090:9090"
54 volumes:
55 - ./observability/prometheus.yml:/etc/prometheus/prometheus.yml:ro
56 - prometheus_data:/prometheus
57 command:
58 - '--config.file=/etc/prometheus/prometheus.yml'
59 - '--storage.tsdb.path=/prometheus'
60 depends_on:
61 - app
62
63volumes:
64 postgres_data:
65 minio_data:
66 valkey_data:
67 prometheus_data: