66 lines
1.3 KiB
YAML
66 lines
1.3 KiB
YAML
|
|
version: "3.9"
|
||
|
|
|
||
|
|
services:
|
||
|
|
|
||
|
|
postgres-sales:
|
||
|
|
image: postgres:15
|
||
|
|
container_name: postgres_sales
|
||
|
|
environment:
|
||
|
|
POSTGRES_DB: sales
|
||
|
|
POSTGRES_USER: sales_user
|
||
|
|
POSTGRES_PASSWORD: sales_pwd
|
||
|
|
ports:
|
||
|
|
- "5432:5432"
|
||
|
|
volumes:
|
||
|
|
- postgres_sales_data:/var/lib/postgresql/data
|
||
|
|
|
||
|
|
mysql-hr:
|
||
|
|
image: mysql:8.0
|
||
|
|
container_name: mysql_hr
|
||
|
|
environment:
|
||
|
|
MYSQL_DATABASE: hr
|
||
|
|
MYSQL_USER: hr_user
|
||
|
|
MYSQL_PASSWORD: hr_pwd
|
||
|
|
MYSQL_ROOT_PASSWORD: root_pwd
|
||
|
|
ports:
|
||
|
|
- "3306:3306"
|
||
|
|
volumes:
|
||
|
|
- mysql_hr_data:/var/lib/mysql
|
||
|
|
|
||
|
|
mongodb-supplychain:
|
||
|
|
image: mongo:4.4
|
||
|
|
container_name: mongodb_supplychain
|
||
|
|
command: ["mongod", "--auth"]
|
||
|
|
ports:
|
||
|
|
- "27017:27017"
|
||
|
|
volumes:
|
||
|
|
- mongodb_supplychain_data:/data/db
|
||
|
|
|
||
|
|
cassandra-telemetry:
|
||
|
|
image: cassandra:4.1
|
||
|
|
container_name: cassandra-telemetry
|
||
|
|
ports:
|
||
|
|
- "9042:9042"
|
||
|
|
volumes:
|
||
|
|
- cassandra_telemetry_data:/var/lib/cassandra
|
||
|
|
environment:
|
||
|
|
CASSANDRA_CLUSTER_NAME: TelemetryCluster
|
||
|
|
|
||
|
|
neo4j-graph:
|
||
|
|
image: neo4j:4.4
|
||
|
|
container_name: neo4j_graph
|
||
|
|
environment:
|
||
|
|
NEO4J_AUTH: neo4j/testpwd
|
||
|
|
ports:
|
||
|
|
- "7474:7474"
|
||
|
|
- "7687:7687"
|
||
|
|
volumes:
|
||
|
|
- neo4j_graph_data:/data
|
||
|
|
|
||
|
|
volumes:
|
||
|
|
postgres_sales_data:
|
||
|
|
mysql_hr_data:
|
||
|
|
mongodb_supplychain_data:
|
||
|
|
cassandra_telemetry_data:
|
||
|
|
neo4j_graph_data:
|