代码拉取完成,页面将自动刷新
version: '3'
services:
# frontend:
# build:
# context: .
# dockerfile: ./fe.dockerfile
# restart: always
# volumes:
# - ./docker/nginx.conf:/etc/nginx/nginx.conf
# ports:
# - "8000:80"
# backend:
# build:
# context: .
# dockerfile: be.dockerfile
# restart: always
# environment:
# MYSQL_HOST: mysql
# MYSQL_DATABASE: sphinxquant
# MYSQL_ROOT_PASSWORD: sphinxquant
# RABBITMQ_HOST: rabbitmq
# RABBITMQ_USER: sphinxquant
# RABBITMQ_PASS: sphinxquant
# REDIS_HOST: redis
# REDIS_PASS: sphinxquant
mysql:
image: mysql:5
restart: always
ports:
- "3306:3306"
environment:
MYSQL_DATABASE: sphinxquant
MYSQL_ROOT_PASSWORD: sphinxquant
command: ['--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
rabbitmq:
image: rabbitmq:3-alpine
restart: always
ports:
- "5672:5672"
- "5671:5671"
- "15672:15672"
environment:
RABBITMQ_DEFAULT_USER: sphinxquant
RABBITMQ_DEFAULT_PASS: sphinxquant
redis:
image: redis:alpine
restart: always
command: ['redis-server', '--requirepass', 'sphinxquant']
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。