You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
version: '3'
|
|
services:
|
|
metabase:
|
|
image: metabase/metabase
|
|
ports:
|
|
- "3500:3000"
|
|
mongodb:
|
|
image: mongo
|
|
ports:
|
|
- "27017:27017"
|
|
environment: # see docs for var names: https://hub.docker.com/_/mongo/
|
|
- MONGO_INITDB_ROOT_USERNAME=admin # usually better to define env vars in compose, not in dockerfile
|
|
- MONGO_INITDB_ROOT_PASSWORD=password
|
|
volumes:
|
|
- mongo-data:/data/db
|
|
# - mysql:var/lib/mysql
|
|
# - postgres:var/lib/postgresql/data
|
|
mongo-express:
|
|
image: mongo-express
|
|
ports:
|
|
- "8080:8081"
|
|
environment:
|
|
- ME_CONFIG_MONGODB_ADMINUSERNAME=admin
|
|
- ME_CONFIG_MONGODB_ADMINPASSWORD=password
|
|
- ME_CONFIG_MONGODB_SERVER=mongodb
|
|
|
|
|
|
mariadb:
|
|
image: mariadb:11.3.2-jammy
|
|
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
|
- MYSQL_USER=user
|
|
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
|
- MYSQL_DATABASE=DB
|
|
ports:
|
|
- "24001:3306"
|
|
|
|
volumes:
|
|
mongo-data:
|
|
driver: local
|