version: '3.1' services: mysql: image: mysql:5.6.43 command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci restart: always environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: active_0 MYSQL_USER: linkedme MYSQL_PASSWORD: LinkedME@mysql2017 volumes: - /data1/dev/mysql-data:/var/lib/mysql ports: - 3306:3306 adminer: image: adminer restart: always ports: - 7070:8080 redis6379: image: redis:latest command: redis-server --appendonly yes volumes: - /data1/dev/redis6379/:/data ports: - 6379:6379 zookeeper: image: wurstmeister/zookeeper ports: - "2181:2181" kafka: image: wurstmeister/kafka:2.11-0.10.2.2 ports: - "9092:9092" environment: KAFKA_ADVERTISED_HOST_NAME: 10.11.12.108 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 volumes: - /var/run/docker.sock:/var/run/docker.sock