这里写自定义目录标题

  • docker-compose.yml
  • 部署步骤

想寻找一个小团队所用的开源Markdown文档协同工具,无意中找到wizard,感觉不错。功能简单,页面简洁,适合我们程序员用的。记录一下部署过程

docker-compose.yml

version: '3.9'
networks:custom_bridge:external: true
services:wizard:image: mylxsw/wizard:1.3.1container_name: "wizard"hostname: "wizard" networks:custom_bridge:ports:- "8080:80"restart: "no"volumes:- ./download:/webroot/storage/app/publicenvironment:- SET_CONTAINER_TIMEZONE=true- CONTAINER_TIMEZONE=Asia/Shanghai- DB_HOST=172.19.0.241- DB_PORT=3306- DB_DATABASE=wizard- DB_USERNAME=root- DB_PASSWORD=root- APP_DEBUG=true

部署步骤

  1. 执行docker compose up -d,生成容器
[root@VM-4-5-centos wizard]# docker-compose up -d
Creating network "wizard_default" with the default driver
Pulling wizard (mylxsw/wizard:1.3.1)...
1.3.1: Pulling from mylxsw/wizard
ae13dd578326: Pull complete
f15d475049bf: Pull complete
886e5161983f: Pull complete
aa7666573a25: Pull complete
59357a0f9863: Pull complete
dc3ffb8c774e: Pull complete
513e9383f6d4: Pull complete
5ebd0737aa08: Pull complete
255df6c25392: Pull complete
f2994be86066: Pull complete
746eb0cc36a4: Pull complete
e46201569d4f: Pull complete
e05ec73939b3: Pull complete
a1488be2aff6: Pull complete
721fc7d7a7ae: Pull complete
f66b719ae762: Pull complete
669cff49da8d: Pull complete
8b6e659e70e3: Pull complete
b64123c99f2c: Pull complete
c077d455fd8d: Pull complete
321c2e7b579f: Pull complete
e61a28442a9c: Pull complete
bf7dfe673c23: Pull complete
c9d85ec3e6fb: Pull complete
6bb13a9fd865: Pull complete
4d5615971791: Pull complete
e49873713d12: Pull complete
Digest: sha256:d9c0dfcc7518e63e6e437a5c81c5e9c614ea3012f9c55412595f025d93c81f49
Status: Downloaded newer image for mylxsw/wizard:1.3.1
Creating wizard ... done
  1. 进入容器内,按顺序执行php artisan migrate:installphp artisan migrate初始化数据库
[root@VM-4-5-centos wizard]# docker exec -it wizard bash
root@wizard:/webroot# php artisan migrate:install
Migration table created successfully.
root@wizard:/webroot# php artisan migrate
**************************************
*     Application In Production!     *
**************************************Do you really wish to run this command? (yes/no) [no]:> yesMigrating: 2014_10_12_000000_create_users_table
Migrated:  2014_10_12_000000_create_users_table (0.06 seconds)
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated:  2014_10_12_100000_create_password_resets_table (0.05 seconds)
Migrating: 2017_07_31_012730_create_project_table
Migrated:  2017_07_31_012730_create_project_table (0.03 seconds)
Migrating: 2017_07_31_013758_create_page_table
Migrated:  2017_07_31_013758_create_page_table (0.03 seconds)
Migrating: 2017_08_01_151100_create_page_history_table
Migrated:  2017_08_01_151100_create_page_history_table (0.03 seconds)
Migrating: 2017_08_03_232417_create_operation_logs_table
Migrated:  2017_08_03_232417_create_operation_logs_table (0.03 seconds)
Migrating: 2017_08_04_143640_create_template_table
Migrated:  2017_08_04_143640_create_template_table (0.03 seconds)
Migrating: 2017_08_06_115558_create_group_table
Migrated:  2017_08_06_115558_create_group_table (0.03 seconds)
Migrating: 2017_08_06_120713_create_user_group_ref_table
Migrated:  2017_08_06_120713_create_user_group_ref_table (0.03 seconds)
Migrating: 2017_08_06_122310_update_user_table
Migrated:  2017_08_06_122310_update_user_table (0.03 seconds)
Migrating: 2017_08_06_124106_create_project_group_ref_table
Migrated:  2017_08_06_124106_create_project_group_ref_table (0.03 seconds)
Migrating: 2017_08_10_093939_create_categories_table
Migrated:  2017_08_10_093939_create_categories_table (0.03 seconds)
Migrating: 2017_08_11_171545_create_share_table
Migrated:  2017_08_11_171545_create_share_table (0.06 seconds)
Migrating: 2017_08_17_224954_create_comments_table
Migrated:  2017_08_17_224954_create_comments_table (0.03 seconds)
Migrating: 2017_08_18_133716_create_attachments_table
Migrated:  2017_08_18_133716_create_attachments_table (0.03 seconds)
Migrating: 2017_08_19_002350_create_notifications_table
Migrated:  2017_08_19_002350_create_notifications_table (0.09 seconds)
Migrating: 2017_09_19_174315_modify_operation_logs
Migrated:  2017_09_19_174315_modify_operation_logs (0.03 seconds)
Migrating: 2017_09_24_145801_modify_user_table
Migrated:  2017_09_24_145801_modify_user_table (0.03 seconds)
Migrating: 2018_01_27_150601_modify_project_table
Migrated:  2018_01_27_150601_modify_project_table (0.03 seconds)
Migrating: 2018_04_11_172516_create_project_catalogs_table
Migrated:  2018_04_11_172516_create_project_catalogs_table (0.03 seconds)
Migrating: 2018_04_11_172816_modify_project_add_catalog
Migrated:  2018_04_11_172816_modify_project_add_catalog (0.03 seconds)
Migrating: 2018_04_12_143655_create_project_star_table
Migrated:  2018_04_12_143655_create_project_star_table (0.03 seconds)
Migrating: 2018_05_10_105015_create_tags_table
Migrated:  2018_05_10_105015_create_tags_table (0.05 seconds)
Migrating: 2018_05_10_105629_create_page_tag_table
Migrated:  2018_05_10_105629_create_page_tag_table (0.09 seconds)
Migrating: 2018_12_11_164112_add_sort_to_nav
Migrated:  2018_12_11_164112_add_sort_to_nav (0.03 seconds)
Migrating: 2018_12_11_164721_add_sort_to_nav_history
Migrated:  2018_12_11_164721_add_sort_to_nav_history (0.03 seconds)
Migrating: 2019_04_20_141850_add_sync_to_pages
Migrated:  2019_04_20_141850_add_sync_to_pages (0.03 seconds)
Migrating: 2019_04_20_141934_add_sync_filed_to_page_histories
Migrated:  2019_04_20_141934_add_sync_filed_to_page_histories (0.03 seconds)
Migrating: 2019_04_27_214733_add_objectguid_column
Migrated:  2019_04_27_214733_add_objectguid_column (0.03 seconds)
Migrating: 2019_08_09_115948_optimize_pages
Migrated:  2019_08_09_115948_optimize_pages (0.03 seconds)
Migrating: 2019_08_09_120209_optimize_page_histories
Migrated:  2019_08_09_120209_optimize_page_histories (0.03 seconds)
Migrating: 2019_08_09_120318_optimize_project_stars
Migrated:  2019_08_09_120318_optimize_project_stars (0.03 seconds)
Migrating: 2019_08_09_120748_optimize_attachments
Migrated:  2019_08_09_120748_optimize_attachments (0.03 seconds)
Migrating: 2019_11_13_103848_add_show_in_home_to_catalogs
Migrated:  2019_11_13_103848_add_show_in_home_to_catalogs (0.03 seconds)
Migrating: 2019_12_31_115014_create_widget_table
Migrated:  2019_12_31_115014_create_widget_table (0.06 seconds)
Migrating: 2020_10_10_180119_create_page_score
Migrated:  2020_10_10_180119_create_page_score (0.05 seconds)
Migrating: 2021_03_04_114106_invitation_code
Migrated:  2021_03_04_114106_invitation_code (0.05 seconds)
Migrating: 2021_03_29_133806_add_project_menu_control
Migrated:  2021_03_29_133806_add_project_menu_control (0.03 seconds)
root@wizard:/webroot# exit

docker部署wizard相关推荐

  1. kubernetes基础之docker部署wizard文档管理系统平台(亲测有效)

    docker部署wizard文档管理系统平台 公司之前用的是showdoc平台,用来进行技术文档的分享和保存,当时只是编写一些简单的markdown文档,但是后来随着文档越来越多,现在需要新的平台的来 ...

  2. 基于Docker部署Wizard文档管理系统

    项目地址 https://github.com/mylxsw/wizard 部署 需要先部署mysql(建议用mysql5版本),采用docker方式部署,端口在宿主机映射为8444 admin@te ...

  3. Docker 部署 SpringBoot 项目整合 Redis 镜像做访问计数Demo

    Docker 部署SpringBoot项目整合 Redis 镜像做访问计数Demo 最终效果如下 大概就几个步骤 1.安装 Docker CE 2.运行 Redis 镜像 3.Java 环境准备 4. ...

  4. Docker 部署SpringBoot项目不香吗?

    点击上方"方志朋",选择"设为星标" 回复"666"获取新整理的面试文章 作者:流星007 链接:toutiao.com/i68433912 ...

  5. docker部署springboot_Docker+SpringBoot快速构建和部署应用

    前言 Docker技术发展为当前流行的微服务提供了更加便利的环境,使用SpringBoot+Docker部署和发布应用,其实也是一件比较简单的事情.当前,前提是得有Docker的基础. 构建一个Spr ...

  6. docker初体验:docker部署nginx负载均衡集群

    Docker 是一个用于开发,交付和运行应用程序的开放平台.Docker 使您能够将应用程序与基础架构分开,从而可以快速交付软件.今天来为大家演示一下docker部署nginx负载均衡集群 环境 ce ...

  7. docker初体验:docker部署nginx服务

    Docker 是一个用于开发,交付和运行应用程序的开放平台.Docker 使您能够将应用程序与基础架构分开,从而可以快速交付软件.今天来为大家演示一下docker部署nginx 环境 centos7 ...

  8. Docker系列 四.Docker部署SpringBoot

    四.Docker部署SpringBoot 环境&工具: 阿里云轻量级服务器.CentOS 7系统.FinalShell(其他连接客户端也可以).IDEA 1. 创建springboot项目 这 ...

  9. Docker部署文档

    Docker部署文档 目录 Docker部署文档 1 一.什么是Docker 3 1.1Docker简介 3 1.2对比传统虚拟机总结 4 1.3Docker通常用于如下场景: 5 1.4基本概念 5 ...

最新文章

  1. Re: Programming C/C++中extern C含义深层探索
  2. 利用 Laravel 花 2 小时撸一个 RSS 生成器
  3. 【常用】数学符号及读法大全
  4. 一个通用Makefile的编写
  5. vue 树形控件可编辑_vue.js element-ui组件改iview 第一期 tree树形控件
  6. [Git] GitHub 上使用 md 的几点问题
  7. 用PARL训练mini-alphaGO
  8. 数字逻辑电路各种编码
  9. 北京市市级行政区界线
  10. 小王Java学习打卡day07——模板方法设计,接口,多态
  11. shell实现ftp命令示例
  12. js代码在调试状态执行正确,但是正常使用时没有反应
  13. Python轻松实现地图可视化(附详细源码)
  14. vb.net 获取系统图标_「快捷指令」桌面图标任意摆放
  15. Android开发应该用什么语言
  16. java调用zebra_java调用斑马GK888t打印机(ZPL指令)
  17. [笨木头FireFly 03]完整的服务端和客户端通信
  18. SpringBoot/SSM 物品租赁系统 摄影器材租赁系统
  19. PCA(主成分分析)的理解与应用(学习笔记)
  20. 第十四届蓝桥杯三月真题刷题训练——第 15 天

热门文章

  1. 人工智能迎来黄金时代 互金领域AI看好借贷宝
  2. 金山云跌13%,雷军赌败了,没想到却在其他领域中迎来了新转机
  3. 无套路免费送书:吴军博士的《格局》
  4. bulk insert 服务器不支持代码页 65001
  5. 【日历推】苹果相册推APNSDistributions以及证书在AppID设置装备安排中建立布局构筑ArrayList tmpMacList
  6. 大白话科普区块链原理【子豪兄区块链讲义】
  7. 信息熵、条件熵、信息增益
  8. 旋转数字——旋转摆花
  9. C和C++的开发工具
  10. 关系模式规范化(设计范式)