79 lines
1.7 KiB
YAML
79 lines
1.7 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
|
|
- ./init/mongo:/docker-entrypoint-initdb.d:ro
|
|
|
|
mongo-express:
|
|
image: mongo-express
|
|
container_name: mongo_express
|
|
depends_on:
|
|
- mongodb-supplychain
|
|
ports:
|
|
- "8081:8081"
|
|
environment:
|
|
ME_CONFIG_MONGODB_URL: mongodb://mo:Dell2026%21@mongodb_supplychain:27017/?authSource=admin
|
|
ME_CONFIG_MONGODB_ENABLE_ADMIN: "true"
|
|
ME_CONFIG_BASICAUTH: "false"
|
|
|
|
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:
|