version: '3' services: minio: image: minio/minio container_name: minio environment: MINIO_ACCESS_KEY: sunseaiot MINIO_SECRET_KEY: sunseaiot restart: always hostname: minio ports: - "9000:9000" volumes: - "./minio/data:/data" command: server /data minio_mc: image: minio/mc container_name: minio_mc entrypoint: /bin/sh command: mc config redis: image: redis container_name: redis hostname: redis restart: always # command: redis-server --requirepass ldjy@2019 ports: - "40008:6379" volumes: - "./redis/data:/data" mysql: image: mysql:5.7 container_name: mysql hostname: mysql restart: always ports: - "33060:3306" volumes: - "./mysql/conf:/etc/mysql/conf.d" - "./mysql/data:/var/lib/mysql" - "./mysql/logs:/logs" environment: MYSQL_ROOT_PASSWORD: "123456" MYSQL_USER: 'root' MYSQL_PASS: '123456' dkha-eureka: build: ./face-server volumes: - "./face-server/face.log:/face.log" container_name: face-server restart: always hostname: face-server ports: - "8899:8899"