-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
55 lines (50 loc) · 1.08 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
volumes:
postgres_data:
services:
postgres:
build:
context: ./postgres
dockerfile: dockerfile
target: postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=test
- TIMESCALEDB_TELEMETRY=off
- TS_TUNE_MEMORY=8GB
- TS_TUNE_NUM_CPUS=4
expose:
- "5432"
ports:
- "5432:5432"
restart: always
stop_signal: SIGINT
volumes:
- postgres_data:/var/lib/postgresql/data
- ./postgres/sql/patchdb.d:/docker-entrypoint-patchdb.d
test:
build:
context: .
dockerfile: dockerfile
target: test
environment:
- CONFIG=./local/test.yaml
- ENV=./secrets/example.env
pre-commit:
build:
context: .
dockerfile: dockerfile
target: pre-commit
environment:
- CONFIG=./local/test.yaml
- ENV=./secrets/example.env
build-wheel:
build:
context: .
dockerfile: dockerfile
target: build-wheel
install-wheel:
build:
context: .
dockerfile: dockerfile
target: install-wheel