forked from shvechikov/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (55 loc) · 1.36 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: "3.8"
services:
db:
restart: always
build: ./db/
ports:
- "5460:5432"
pipeline:
build: .
container_name: pipeline-pavlenko
command: python pipeline.py --host 0.0.0.0 --port 5432
volumes:
- .:/MyPipelines/
ports:
- "8081:8081"
#version: '3.8'
#services:
# pipelines:
# build: ./
# ports:
# - "8000:8000"
# depends_on:
# db:
# condition: service_healthy
# environment:
# - POSTGRES_HOST=db
# - POSTGRES_DB=pipelines
# - POSTGRES_USER=postgres
# - POSTGRES_PASSWORD=12345
# volumes:
# - ./example_pipeline/original/original.csv:/pipelines/example_pipeline/original/original.csv
# db:
# restart: always
# build: ./db/
# ports:
# - "5432:5432"
# healthcheck:
# test : ["CMD-SHELL", "pg_isready --username=postgres -p 5432"]
# interval: 10s
# timeout: 5s
# retries: 5
#postgres:
# build: ./
# image: postgres:11.6
# container_name: localpostgres
# environment:
# POSTGRES_DB: ${POSTGRES_DB:-mydb}
# POSTGRES_USER: ${POSTGRES_USER:-debug}
# POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-debug}
# POSTGRES_PORT: ${POSTGRES_PORT:-5432}
# POSTGRES_HOST: ${POSTGRES_HOST:-postgres}
# volumes:
# - /opt/homebrew/var/postgresql@14:/var/lib/postgresql/data
# ports:
# - "127.0.0.1:5432:5432"