代码拉取完成,页面将自动刷新
同步操作将从 xman/dockerfile-php环境 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3'
#docker network create my_net_work
networks:
custom_net:
external:
name: my_net_work
services:
web:
container_name: web
image: xman2020/web:1.1
ports:
- "80:80"
depends_on:
- redis
- mysql
- rabbitmq
networks:
- custom_net
volumes:
- /E/wwwroot/:/var/www/html
- ./nginx:/etc/nginx
privileged: true
restart: always
golang:
container_name: go
image: golang:latest
ports:
- "8088:8088"
networks:
- custom_net
depends_on:
- redis
- mysql
volumes:
- /E/gowork:/go
tty: true
restart: always
environment:
GO111MODULE: "on"
GOPROXY: "https://mirrors.aliyun.com/goproxy,direct"
redis:
container_name: redis
image: redis:latest
command: redis-server --requirepass 123456
ports:
- "6378:6379"
networks:
- custom_net
privileged: true
restart: always
rabbitmq:
container_name: rabbitmq
image: rabbitmq:management
volumes:
- ./rabbitmq/data:/data
ports:
- "15672:15672"
- "5672:5672"
networks:
- custom_net
privileged: true
restart: always
environment:
RABBITMQ_DEFAULT_VHOST: "tp5.cc"
RABBITMQ_DEFAULT_USER: "admin"
RABBITMQ_DEFAULT_PASS: "123456"
mysql:
container_name: mysql
image: mysql:5.7
privileged: true
restart: always
ports:
- "3305:3306"
volumes:
- ./mysql/conf:/etc/mysql
- ./mysql/logs:/var/log/mysql
- ./mysql/data:/var/lib/mysql
networks:
- custom_net
environment:
MYSQL_ROOT_PASSWORD: "123456"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。