-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
48 lines (42 loc) · 997 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
48 lines (42 loc) · 997 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
version: "3"
services:
etl:
image: etl
container_name: etl
build:
context: .
volumes:
- ./:/app
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_HOST: ${POSTGRES_HOST}
POSTGRES_PORT: ${POSTGRES_PORT}
TABLE_NAME: ${TABLE_NAME}
FILE_PATH: ${FILE_PATH}
warehouse:
image: postgres:13
container_name: warehouse
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- postgres-volume:/var/lib/postgresql/data
- ./sql:/docker-entrypoint-initdb.d
restart: always
ports:
- "5432:5432"
metabase:
image: metabase/metabase:latest
container_name: metabase
hostname: metabase
volumes:
- urandom:/dev/random:ro
ports:
- 3000:3000
restart: always
volumes:
postgres-volume:
urandom: