-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
62 lines (56 loc) · 1.26 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
version: "3"
volumes:
postgres-volume:
timescale-volume:
redis-volume:
archive-volume:
services:
shared:
build:
context: .
dockerfile: docker/Dockerfile
tty: true
depends_on:
- postgres
- timescale
- minio
volumes:
- ./shared/:/app/shared
- ./tests/:/app/tests
postgres:
image: postgres:14.4-alpine
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- type: tmpfs
target: /var/lib/postgresql/data
tmpfs:
size: 1024M
redis:
image: redis:4.0-alpine
volumes:
- redis-volume:/data
timescale:
image: timescale/timescaledb-ha:pg14-latest
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- type: tmpfs
target: /var/lib/postgresql/data
tmpfs:
size: 1024M
minio:
image: minio/minio:RELEASE.2019-04-09T01-22-30Z
command: server /export
ports:
- "9000:9000"
environment:
- MINIO_ACCESS_KEY=codecov-default-key
- MINIO_SECRET_KEY=codecov-default-secret
volumes:
- archive-volume:/export