3 Star 15 Fork 13

武松 / fast-docker-compose

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

fast-docker-compose

提供常用的软件/环境快速安装,基于:docker-compose.yml

包括以下软件快速安装

  • redis
  • jenkins
  • mongodb
  • nacos
  • nginx
  • mysql

密码

所有的软件采用国际通用密码:123456

如果要改成其他安全级别的,都可以在对应软件的docker-compose.yml中进行更改

安装

下面举例安装redis:

  1. 切换到redis目录
cd redis
  1. 使用docker-compose 构建服务
    docker-compose up
  1. 启动服务
    docker-compose start
  1. 重启服务
    docker-compose restart
  1. 停止服务
    docker-compose stop
  1. 查看日志
    docker-compose logs
  1. 持续查看日志
    docker-compose logs -f
  1. 查看运行中都镜像
    docker ps
  • 查看所有镜像,包括没有运行都
    docker ps -a

关于

本项目用于收集常用的一些软件的docker-compose.yml用于环境的快速安装

大家也可以在本项目提RP 贡献其他软件的docker-compose.yml

docker-compose安装

sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

测试是否安装成功:

docker-compose --version

输出:

docker-compose version 1.24.1, build 4667896b
MIT License Copyright (c) 2021 Jingle Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

提供常用的软件/环境快速安装,基于:docker-compose.yml 展开 收起
Docker
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Docker
1
https://gitee.com/tompeppa/fast-docker-compose.git
git@gitee.com:tompeppa/fast-docker-compose.git
tompeppa
fast-docker-compose
fast-docker-compose
main

搜索帮助