-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (44 loc) · 983 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (44 loc) · 983 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
46
47
48
version: '3.8'
services:
postgres:
image: postgres:16
environment:
POSTGRES_DB: crypto_recon
POSTGRES_USER: antonyjin
POSTGRES_PASSWORD: password
ports:
- '5432:5432'
volumes:
- pgdata:/var/lib/postgresql/data
api-gateway:
build:
context: .
dockerfile: services/api-gateway/Dockerfile
ports:
- '3000:3000'
- '5050:5050'
environment:
DATABASE_URL: postgresql://antonyjin:password@postgres:5432/crypto_recon
depends_on:
- postgres
ingestion:
build:
context: .
dockerfile: services/ingestion/Dockerfile
ports:
- '3001:3001'
depends_on:
- api-gateway
dashboard:
build:
context: .
dockerfile: apps/dashboard/Dockerfile
ports:
- '3002:3002'
environment:
NEXT_PUBLIC_API_URL: http://localhost:3000
NEXT_PUBLIC_INGESTION_URL: http://localhost:3001
depends_on:
- api-gateway
volumes:
pgdata: