代码拉取完成,页面将自动刷新
同步操作将从 huagelong/eduxplus 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3.7'
services:
db:
container_name: db
image: mysql
command: ["--default-authentication-plugin=mysql_native_password"]
ports:
- "3307:3306"
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: eduxplus
MYSQL_USER: eduxplus
MYSQL_PASSWORD: eduxplus
networks:
- db
redis:
container_name: redis
image: redis
ports:
- "6378:6379"
networks:
- redis
php:
container_name: php-fpm
build: ./docs/docker/php-fpm
ports:
- "9001:9001"
volumes:
- ./:/var/www/symfony
depends_on:
- db
- redis
networks:
- redis
- db
- php
nginx:
container_name: nginx
build: ./docs/docker/nginx
ports:
- "81:80"
depends_on:
- php
networks:
- php
volumes:
- ./logs/nginx:/var/log/nginx
- ./:/var/www/symfony
elasticsearch:
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:7.4.2
environment:
discovery.type: "single-node"
ports:
- "9200:9200"
networks:
elk_stack:
aliases:
- "elasticsearch"
logstash:
container_name: logstash
image: docker.elastic.co/logstash/logstash:7.4.2
depends_on:
- elasticsearch
volumes:
- ./docs/docker/elk/logstash/pipelines.yml:/usr/share/logstash/config/pipelines.yml
- ./docs/docker/elk/logstash/conf.d:/etc/logstash/conf.d
- ./logs/nginx:/var/log/nginx
networks:
- elk_stack
kibana:
container_name: kibana
depends_on:
- elasticsearch
image: docker.elastic.co/kibana/kibana:7.4.2
environment:
SERVER_NAME: localhost
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
networks:
- elk_stack
ports:
- "82:5601"
networks:
db:
redis:
php:
elk_stack:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。