version: '3'

services:
  febs-monitor-admin:
    image: febs-monitor-admin:latest
    container_name: febs-monitor-admin
    volumes:
      - "/febs/log:/log"
    command:
      - "--nacos.url=127.0.0.1"
    environment:
      - "TZ=Asia/Shanghai"
    ports:
      - 8401:8401
    restart: on-failure
  febs-gateway:
    image: febs-gateway:latest
    container_name: febs-gateway
    volumes:
      - "/febs/log:/log"
    command:
      - "--febs-monitor-admin=127.0.0.1"
      - "--nacos.url=127.0.0.1"
    environment:
      - "TZ=Asia/Shanghai"
    ports:
      - 8301:8301
    restart: on-failure
  febs-auth:
    image: febs-auth:latest
    container_name: febs-auth
    volumes:
      - "/febs/log:/log"
    command:
      - "--febs-monitor-admin=127.0.0.1"
      - "--nacos.url=127.0.0.1"
      - "--mysql.url=127.0.0.1"
      - "--redis.url=127.0.0.1"
      - "--spring.profiles.active=prod"
    environment:
      - "TZ=Asia/Shanghai"
    ports:
      - 8101:8101
    restart: on-failure
  febs-server-system:
    image: febs-server-system:latest
    container_name: febs-server-system
    volumes:
      - "/febs/log:/log"
    command:
      - "--febs-monitor-admin=127.0.0.1"
      - "--febs-gateway=127.0.0.1"
      - "--nacos.url=127.0.0.1"
      - "--mysql.url=127.0.0.1"
      - "--rabbitmq.url=127.0.0.1"
      - "--spring.profiles.active=prod"
    environment:
      - "TZ=Asia/Shanghai"
    ports:
      - 8201:8201
    restart: on-failure
  febs-server-test:
    image: febs-server-test:latest
    container_name: febs-server-test
    volumes:
      - "/febs/log:/log"
    command:
      - "--rabbitmq.url=127.0.0.1"
      - "--nacos.url=127.0.0.1"
      - "--febs-monitor-admin=127.0.0.1"
      - "--febs-gateway=127.0.0.1"
    environment:
      - "TZ=Asia/Shanghai"
    ports:
      - 8202:8202
    restart: on-failure
  zipkin-server:
    image: zipkin-server
    container_name: zipkin-server
    command:
      - "--server.port=8402"
      - "--zipkin.storage.type=mysql"
      - "--zipkin.storage.mysql.db=febs_cloud_base"
      - "--zipkin.storage.mysql.username=root"
      - "--zipkin.storage.mysql.password=123456"
      - "--zipkin.storage.mysql.host=127.0.0.1"
      - "--zipkin.storage.mysql.port=3306"
      - "--zipkin.collector.rabbitmq.addresses=127.0.0.1:5672"
      - "--zipkin.collector.rabbitmq.username=febs"
      - "--zipkin.collector.rabbitmq.password=123456"
    environment:
      - "TZ=Asia/Shanghai"
    ports:
      - 8402:8402
    restart: on-failure
  febs-cloud-web:
    image: febs-cloud-web
    container_name: febs-cloud-web
    volumes:
      - "/febs/log:/log"
    environment:
      - "TZ=Asia/Shanghai"
    ports:
      - 9527:80
    restart: on-failure
