Skip to content

Instantly share code, notes, and snippets.

@tailtq
Last active October 14, 2020 08:06
Show Gist options
  • Save tailtq/dbbe0a857fdc9798fefb86c9ed123cb3 to your computer and use it in GitHub Desktop.
Save tailtq/dbbe0a857fdc9798fefb86c9ed123cb3 to your computer and use it in GitHub Desktop.
version: '3'
services:
mongodb:
image: 'mongo:latest'
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
ports:
- 11038:27017
volumes:
- /database/mongodb:/data/db
minio:
image: 'minio/minio:latest'
environment:
MINIO_ACCESS_KEY: AKIAIOSFODNN7EXAMPLE
MINIO_SECRET_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
command: minio server /data
ports:
- 11039:9000
volumes:
- /database/minio:/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment