123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254 |
- version : '3.8'
- services:
- ruoyi-nacos:
- container_name: ruoyi-nacos
- image: nacos/nacos-server
- build:
- context: ./nacos
- environment:
- - MODE=standalone
- volumes:
- - ./nacos/logs/:/home/nacos/logs
- - ./nacos/conf/application.properties:/home/nacos/conf/application.properties
- ports:
- - "8848:8848"
- - "9848:9848"
- - "9849:9849"
- depends_on:
- - ruoyi-mysql
- ruoyi-mysql:
- container_name: ruoyi-mysql
- image: mysql:5.7
- build:
- context: ./mysql
- ports:
- - "3306:3306"
- volumes:
- - ./mysql/conf:/etc/mysql/conf.d
- - ./mysql/logs:/logs
- - ./mysql/data:/var/lib/mysql
- command: [
- 'mysqld',
- '--innodb-buffer-pool-size=80M',
- '--character-set-server=utf8mb4',
- '--collation-server=utf8mb4_unicode_ci',
- '--default-time-zone=+8:00',
- '--lower-case-table-names=1'
- ]
- environment:
- MYSQL_ROOT_PASSWORD: Root123!@#
- ruoyi-redis:
- container_name: ruoyi-redis
- image: redis
- build:
- context: ./redis
- ports:
- - "6379:6379"
- volumes:
- - ./redis/conf/redis.conf:/home/ruoyi/redis/redis.conf
- - ./redis/data:/data
- command: redis-server /home/ruoyi/redis/redis.conf
- ruoyi-nginx:
- container_name: ruoyi-nginx
- image: nginx
- build:
- context: ./nginx
- ports:
- - "80:80"
- volumes:
- - ./nginx/html/dist:/home/ruoyi/projects/ruoyi-ui
- - ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
- - ./nginx/logs:/var/log/nginx
- - ./nginx/conf.d:/etc/nginx/conf.d
- depends_on:
- - ruoyi-gateway
- links:
- - ruoyi-gateway
- environment:
- - TZ=Asia/Shanghai
- bidding-nginx:
- container_name: bidding-nginx
- image: nginx
- build:
- context: ./bidding
- ports:
- - "81:80"
- volumes:
- - ./bidding/html/dist:/home/ruoyi/projects/bidding-ui
- - ./bidding/conf/nginx.conf:/etc/nginx/nginx.conf
- - ./bidding/logs:/var/log/nginx
- - ./bidding/conf.d:/etc/nginx/conf.d
- depends_on:
- - ruoyi-gateway
- links:
- - ruoyi-gateway
- environment:
- - TZ=Asia/Shanghai
- ruoyi-gateway:
- container_name: ruoyi-gateway
- build:
- context: ./ruoyi/gateway
- dockerfile: dockerfile
- ports:
- - "8080:8080"
- - "8719:8719"
- depends_on:
- - ruoyi-redis
- links:
- - ruoyi-redis
- environment:
- - TZ=Asia/Shanghai
- ruoyi-sentinel:
- container_name: ruoyi-sentinel
- build:
- context: ./sentinel
- dockerfile: dockerfile
- ports:
- - "8718:8718"
- depends_on:
- - ruoyi-gateway
- links:
- - ruoyi-gateway
- ruoyi-auth:
- container_name: ruoyi-auth
- build:
- context: ./ruoyi/auth
- dockerfile: dockerfile
- ports:
- - "9200:9200"
- depends_on:
- - ruoyi-redis
- links:
- - ruoyi-redis
- environment:
- - TZ=Asia/Shanghai
- ruoyi-modules-system:
- container_name: ruoyi-modules-system
- build:
- context: ./ruoyi/modules/system
- dockerfile: dockerfile
- ports:
- - "9201:9201"
- depends_on:
- - ruoyi-redis
- - ruoyi-mysql
- links:
- - ruoyi-redis
- - ruoyi-mysql
- environment:
- - TZ=Asia/Shanghai
- ruoyi-modules-gen:
- container_name: ruoyi-modules-gen
- build:
- context: ./ruoyi/modules/gen
- dockerfile: dockerfile
- ports:
- - "9202:9202"
- depends_on:
- - ruoyi-mysql
- links:
- - ruoyi-mysql
- ruoyi-modules-job:
- container_name: ruoyi-modules-job
- build:
- context: ./ruoyi/modules/job
- dockerfile: dockerfile
- ports:
- - "9203:9203"
- environment:
- - TZ=Asia/Shanghai
- depends_on:
- - ruoyi-mysql
- links:
- - ruoyi-mysql
- ruoyi-modules-file:
- container_name: ruoyi-modules-file
- build:
- context: ./ruoyi/modules/file
- dockerfile: dockerfile
- ports:
- - "9610:9610"
- volumes:
- - ./ruoyi/uploadPath:/home/ruoyi/uploadPath
- environment:
- - TZ=Asia/Shanghai
- ruoyi-visual-monitor:
- container_name: ruoyi-visual-monitor
- build:
- context: ./ruoyi/visual/monitor
- dockerfile: dockerfile
- ports:
- - "9100:9100"
- hh-basic:
- container_name: hh-basic
- build:
- context: ./ruoyi/modules/basic
- dockerfile: dockerfile
- volumes:
- - ./ruoyi/modules/basic/jar/bootstrap.yml:/home/ruoyi/bootstrap.yml
- environment:
- - TZ=Asia/Shanghai
- ports:
- - "9999:9999"
- depends_on:
- - ruoyi-mysql
- links:
- - ruoyi-mysql
- hh-bidding:
- container_name: hh-bidding
- build:
- context: ./ruoyi/modules/bidding
- dockerfile: dockerfile
- volumes:
- - ./ruoyi/modules/bidding/jar/bootstrap.yml:/home/ruoyi/bootstrap.yml
- environment:
- - TZ=Asia/Shanghai
- ports:
- - "9209:9209"
- depends_on:
- - ruoyi-mysql
- links:
- - ruoyi-mysql
- hh-nonbidding:
- container_name: hh-nonbidding
- build:
- context: ./ruoyi/modules/nonbidding
- dockerfile: dockerfile
- volumes:
- - ./ruoyi/modules/nonbidding/jar/bootstrap.yml:/home/ruoyi/bootstrap.yml
- ports:
- - "9211:9211"
- depends_on:
- - ruoyi-mysql
- links:
- - ruoyi-mysql
- hh-procure:
- container_name: hh-procure
- build:
- context: ./ruoyi/modules/procure
- dockerfile: dockerfile
- volumes:
- - ./ruoyi/modules/procure/jar/bootstrap.yml:/home/ruoyi/bootstrap.yml
- environment:
- - TZ=Asia/Shanghai
- ports:
- - "9230:9230"
- depends_on:
- - ruoyi-mysql
- links:
- - ruoyi-mysql
- hh-mast:
- container_name: hh-mast
- build:
- context: ./ruoyi/modules/mast
- dockerfile: dockerfile
- volumes:
- - ./ruoyi/modules/mast/jar/bootstrap.yml:/home/ruoyi/bootstrap.yml
- environment:
- - TZ=Asia/Shanghai
- ports:
- - "9300:9300"
- depends_on:
- - ruoyi-mysql
- links:
- - ruoyi-mysql
|