代码拉取完成,页面将自动刷新
version: "3"
services:
mysql:
image: mysql:8.0
container_name: brisk_mysql
restart: always
environment:
- MYSQL_ROOT_PASSWORD=brisk123
- MYSQL_DATABASE=brisk
- MYSQL_ROOT_HOST=%
- TZ=Asia/Shanghai
ports:
- "3307:3306"
networks:
brisk_network:
ipv4_address: 192.168.40.11
brisk:
build:
context: .
dockerfile: Dockerfile
container_name: brisk_server
restart: always
environment:
- TZ=Asia/Shanghai
volumes:
- /root/brisk/logs:/brisk/logs
ports:
- "7070:7070"
networks:
brisk_network:
ipv4_address: 192.168.40.12
depends_on:
- mysql
# nginx:
# image: nginx
# container_name: brisk_nginx
# restart: always
# environment:
# - TZ=Asia/Shanghai
# volumes:
# - /root/nginx/nginx.conf:/etc/nginx/nginx.conf
# - /root/nginx/html:/usr/share/nginx/html
# - /root/nginx/log:/var/log/nginx
# ports:
# - 80:80
# - 443:443
# networks:
# - brisk_network
# depends_on:
# - mysql
# - brisk
networks:
brisk_network:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.40.0/24
gateway: 192.168.40.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。