-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (41 loc) · 852 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (41 loc) · 852 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
version: '3.4'
volumes:
postgres_data:
services:
redis:
image: redis:latest
restart: always
ports:
- '6379:6379'
postgres:
image: postgres:latest
restart: always
ports:
- '5432:5432'
environment:
POSTGRES_PASSWORD: 'password'
POSTGRES_USER: 'postgres'
POSTGRES_DB: 'postgres'
volumes:
- postgres_data:/var/lib/postgresql/data
pipeline:
image: etl-pipeline
build:
context: .
dockerfile: ./Dockerfile
command: ['python', 'src/main.py']
api:
image: etl-api
build:
context: .
dockerfile: ./Dockerfile
command: ['uvicorn', 'src.api:app', '--host', '0.0.0.0', '--port', '80']
ports:
- '80:80'
vite:
image: etl-vite
build:
context: ./static
dockerfile: Dockerfile
ports:
- '5173:5173'