forked from mikeizbicki/twitter_postgres_parallel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (39 loc) · 916 Bytes
/
docker-compose.yml
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
version: '3.3'
services:
pg_denormalized:
build: services/pg_denormalized
volumes:
- ./:/tmp/db
- pg_denormalized:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=pass
- PGUSER=postgres
ports:
- 54321:5432
pg_normalized:
build: services/pg_normalized
volumes:
- ./:/tmp/db
- pg_normalized:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=pass
- PGUSER=postgres
ports:
- 54322:5432
pg_normalized_batch:
build: services/pg_normalized_batch
volumes:
- ./:/tmp/db
- pg_normalized_batch:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=pass
- PGUSER=postgres
ports:
- 54323:5432
volumes:
pg_normalized:
pg_normalized_batch:
pg_denormalized: