-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (50 loc) · 1.45 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
services:
timeseries_mongodb:
image: mongo:latest
container_name: timeseries_mongodb
ports:
- "5551:27017" # Mapping MongoDB port to 5551 on your local machine
volumes:
- mongodb_data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: test
MONGO_INITDB_ROOT_PASSWORD: test
timeseries_postgres:
image: postgres:latest
container_name: timeseries_postgres
ports:
- "5552:5432" # Mapping PostgreSQL port to 5552 on your local machine
volumes:
- postgresql_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: timeseries_benchmark
POSTGRES_USER: test
POSTGRES_PASSWORD: test
timeseries_timescaledb:
image: timescale/timescaledb:latest-pg16
container_name: timeseries_timescaledb
ports:
- "5553:5432" # Mapping PostgreSQL port to 5553 on your local machine
volumes:
- timescaledb_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: timeseries_benchmark
POSTGRES_USER: test
POSTGRES_PASSWORD: test
timeseries_mysql:
image: mysql:latest
container_name: timeseries_mysql
ports:
- "5554:3306" # Mapping MySQL port to 5554 on your local machine
volumes:
- mysql_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: test
MYSQL_DATABASE: timeseries_benchmark
MYSQL_USER: test
MYSQL_PASSWORD: test
volumes:
mongodb_data:
postgresql_data:
timescaledb_data:
mysql_data: