1 Star 3 Fork 0

wieszheng/brisk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yaml 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wieszheng/brisk.git
[email protected]:wieszheng/brisk.git
wieszheng
brisk
brisk
master

搜索帮助