docker-compose.yml 1.8 KB
Newer Older
fangxinjiang's avatar
fangxinjiang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
version: '3'
services:
  yifu-mysql:
    build:
      context: ./db
    environment:
      MYSQL_ROOT_HOST: "%"
      MYSQL_ROOT_PASSWORD: root
    restart: always
    container_name: yifu-mysql
    image: yifu-mysql
    ports:
      - 3306:3306

  yifu-redis:
    image: redis:7.0.0
    ports:
      - 6379:6379
    restart: always
    container_name: yifu-redis
    hostname: yifu-redis

  yifu-register:
    build:
      context: ./yifu-register
    restart: always
    ports:
      - 8848:8848
    container_name: yifu-register
    hostname: yifu-register
    image: yifu-register

  yifu-gateway:
    build:
      context: ./yifu-gateway
    restart: always
    ports:
      - 9999:9999
    container_name: yifu-gateway
    hostname: yifu-gateway
    image: yifu-gateway

  yifu-auth:
    build:
      context: ./yifu-auth
    restart: always
    container_name: yifu-auth
    hostname: yifu-auth
    image: yifu-auth

  yifu-upms:
    build:
      context: ./yifu-upms/yifu-upms-biz
    restart: always
    container_name: yifu-upms
    hostname: yifu-upms
    image: yifu-upms

  yifu-monitor:
    build:
      context: ./yifu-visual/yifu-monitor
    restart: always
    ports:
      - 5001:5001
    container_name: yifu-monitor
    hostname: yifu-monitor
    image: yifu-monitor

  yifu-sentinel:
    build:
      context: ./yifu-visual/yifu-sentinel-dashboard
    restart: always
    image: yifu-sentinel
    container_name: yifu-sentinel
    ports:
      - 5003:5003

  yifu-codegen:
    build:
      context: ./yifu-visual/yifu-codegen
    restart: always
    container_name: yifu-codegen
    hostname: yifu-codegen
    image: yifu-codegen

  yifu-job:
    build:
      context: ./yifu-visual/yifu-xxl-job-admin
    restart: always
    container_name: yifu-job
    hostname: yifu-job
    image: yifu-job
    ports:
      - 5004:5004