Fetch the repository succeeded.
This action will force synchronization from 启山智软/团购商城社区团购 电商拼团商城-团购小程序系统, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
version: '2'
services:
#mysql
mysql:
image: mysql:5.7
restart: always
container_name: mysql
ports:
- "3306:3306"
volumes:
- ./mysql/init:/docker-entrypoint-initdb.d/
- ./mysql/sql:/opt/sql
- ./mysql/conf/mysqld.cnf:/etc/mysql/mysql.conf.d/mysqld.cnf
- /mydata/mysql/log:/var/log/mysql
- /mydata/mysql/data:/var/lib/mysql
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
environment:
- MYSQL_ROOT_PASSWORD=123456
networks: #加入指定网络
- group_purchase
#redis
redis:
image: redis
restart: always
container_name: redis
ports:
- "6379:6379"
volumes:
- /mydata/redis/data:/data #数据文件挂载
command: redis-server --requirepass 123456
networks: #加入指定网络
- group_purchase
#activemq
activemq:
image: rmohr/activemq
restart: always
ports:
- "61616:61616"
- "8161:8161"
container_name: activemq
networks: #加入指定网络
- group_purchase
#mongodb
mongodb:
image: mongo
restart: always
container_name: mongodb
ports:
- "27017:27017"
volumes:
- /mydata/mongo/db:/data/db #数据文件挂载
networks: #加入指定网络
- group_purchase
#xxl-job
xxl-job:
image: xuxueli/xxl-job-admin:2.1.2
restart: always
container_name: xxl-job
ports:
- "8080:8080"
environment:
PARAMS: '--spring.datasource.url=jdbc:mysql://mysql:3306/xxl_job?Unicode=true&characterEncoding=UTF-8 --spring.datasource.username=root --spring.datasource.password=123456 --xxl.job.accessToken=medusaToken'
networks: #加入指定网络
- group_purchase
depends_on:
- mysql
#group-platform
group-platform:
image: 111.231.208.4:81/group/platform:master-1.0.0
restart: always
container_name: group-platform
ports:
- "8081:8080"
volumes:
- /data/applogs:/data/applogs
networks: #加入指定网络
- group_purchase
depends_on:
- activemq
- redis
- mysql
#group-purchase
group-purchase:
build:
context: .
dockerfile: Dockerfile
restart: always
container_name: group-purchase
volumes:
- /opt/resource/groupmall:/opt/resource/groupmall
ports:
- "8088:8088"
- "9999:9999"
environment:
PARAMS: '--wechat.open.componentAppId=aaa
--wechat.open.componentSecret=bbb
--wechat.open.componentToken=ccc
--wechat.open.componentAesKey=ddd'
networks: #加入指定网络
- group_purchase
depends_on:
- mongodb
- activemq
- redis
- mysql
- xxl-job
networks:
group_purchase:
driver: bridge
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。