Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- zookeeper:
- image: wurstmeister/zookeeper
- container_name: zookeeper
- ports:
- - "2181:2181"
- kafka:
- image: wurstmeister/kafka
- container_name: kafka
- ports:
- - "9092:9092"
- environment:
- KAFKA_ADVERTISED_HOST_NAME: 10.231.244.2
- # KAFKA_ADVERTISED_PORT: 9092
- KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- mongodb:
- image: mongo:latest
- container_name: mongodb
- environment:
- - 'MONGO_INITDB_ROOT_USERNAME=mongo'
- - 'MONGO_INITDB_ROOT_PASSWORD=1qaz2wsx'
- # volumes:
- # - 'mongodb-data:/data/db'
- ports:
- - '27017:27017'
- command: mongod --smallfiles
- mongo-express:
- container_name: mongo-express
- links:
- - 'mongodb:mongo'
- ports:
- - '8081:8081'
- environment:
- - 'ME_CONFIG_OPTIONS_EDITORTHEME=ambiance'
- - 'ME_CONFIG_BASICAUTH_USERNAME=mongo'
- - 'ME_CONFIG_BASICAUTH_PASSWORD=1qaz2wsx'
- - 'ME_CONFIG_MONGODB_ADMINUSERNAME=mongo'
- - 'ME_CONFIG_MONGODB_ADMINPASSWORD=1qaz2wsx'
- image: mongo-express
Add Comment
Please, Sign In to add comment