-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yaml
39 lines (37 loc) · 1.1 KB
/
docker-compose.yaml
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
version: "3.5"
services:
postgres:
image: "postgres:14.5"
environment:
- "POSTGRES_USER=postgres"
- "POSTGRES_PASSWORD=postgres"
- "PGDATA=/data/postgres"
volumes:
- "${HOME}/data/postgres:/data/postgres"
- "./app/src/test/resources/sample/sql/postgres/customer.sql:/docker-entrypoint-initdb.d/customer.sql"
ports:
- "5432:5432"
mysql:
image: "mysql:8.0.33"
environment:
MYSQL_ROOT_PASSWORD: "root"
command: "--default-authentication-plugin=mysql_native_password"
volumes:
- "${HOME}/data/mysql:/var/lib/mysql"
- "./app/src/test/resources/sample/sql/mysql/customer.sql:/docker-entrypoint-initdb.d/customer.sql"
ports:
- "3306:3306"
cassandra:
image: "datastax/dse-server:6.8.33"
environment:
- "DS_LICENSE=accept"
volumes:
- "${HOME}/data/cassandra:/var/lib/cassandra"
- "./app/src/test/resources/sample/cql/customer.cql:/docker-entrypoint-initdb.d/customer.cql"
ports:
- "9042:9042"
# Allow DSE to lock memory with mlock
cap_add:
- IPC_LOCK
ulimits:
memlock: -1