version: '3' services: face_minio: image: face_minio container_name: face_minio restart: always hostname: face_minio ports: - "9000:9000" command: server /data volumes: - "./minio:/data" environment: MINIO_ACCESS_KEY: sunseaiot MINIO_SECRET_KEY: sunseaiot face_redis: image: face_redis container_name: face_redis hostname: face_redis restart: always command: redis-server --appendonly yes ports: - "6379:6379" face_mysql: image: face_mysql container_name: face_mysql hostname: face_mysql restart: always command: mysqld ports: - "3306:3306" volumes: - "./mysql/config:/etc/mysql/conf.d" - "./mysql/data:/var/lib/mysql" - "./mysql/logs:/logs" - "/etc/localtime:/etc/localtime" environment: MYSQL_ROOT_PASSWORD: "123456" MYSQL_USER: 'root' MYSQL_PASS: '123456' face_rabbitmq: image: face_rabbitmq container_name: face_rabbitmq hostname: face_rabbitmq restart: always command: rabbitmq-server ports: - "15672:15672" - "25672:25672" - "4369:4369" - "5671:5671" - "5672:5672" face_es: image: face_es container_name: face_es hostname: face_es restart: always command: eswrapper ports: - "9200:9200" - "9300:9300" face_nginx: image: face_nginx container_name: face_nginx hostname: face_nginx restart: always ports: - "80:80" volumes: - "./nginx/conf.d:/etc/nginx/conf.d" - "./nginx/face:/usr/share/nginx/html" - "./nginx/log:/var/log/nginx"