Skip to content

Instantly share code, notes, and snippets.

@dayitv89
Last active January 25, 2022 14:46
Show Gist options
  • Save dayitv89/c04c6947a54b5cc22208f565708b2ad2 to your computer and use it in GitHub Desktop.
Save dayitv89/c04c6947a54b5cc22208f565708b2ad2 to your computer and use it in GitHub Desktop.
Mongo, Mongo UI, Redis, MySQL, Kafka, Kafka UI for local development, just run `docker-compose up -d` and remove by `docker-compose down`

For Apple M1 chip see issue

git clone https://github.com/faberchri/fast-data-dev.git
cd fast-data-dev
docker build -t faberchri/fast-data-dev .

Finally run docker-compose up -d and it will working fine on apple M1 chip.

For intel users, use directly landoop/fast-data-dev:2.6.2 on #line:22

version: '3'
services:
mongo:
image: mongo:4.2.5
restart: unless-stopped
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
mongo-express:
image: mongo-express:0.54
restart: unless-stopped
ports:
- 27027:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: root
kafka:
image: faberchri/fast-data-dev
restart: unless-stopped
container_name: kafka
ports:
- '2181:2181'
- '3030:3030'
- '8081-8083:8081-8083'
- '9581-9585:9581-9585'
- '9092:9092'
environment:
ADV_HOST: '127.0.0.1'
redis:
image: redis:5-alpine
restart: unless-stopped
container_name: redis
ports:
- '6379:6379'
mysql:
platform: linux/amd64
image: mysql:8.0.28
container_name: mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment