Coder Social home page Coder Social logo

my-docker-compose's Introduction

My Docker Compose

https://github.com/panxiaoan/my-docker-compose

Java 开发者常用的容器:MySQL、PostgreSQL、Redis、Mycat、Prometheus、Grafana...

已准备好的容器:

  • redis
  • postgressql
  • odoo

推荐 OrbStack

OrbStack 是 macOS 中 Docker App,相比 Docker Desktop App 启动更快、资源占用更少。详情官网了解 OrbStack: https://orbstack.dev

配置国内镜像加速服务

cat << EOF >> /etc/docker/daemon.json
{
  "ipv6" : false,
  "registry-mirrors" : [
    "https://dockerproxy.com",
    "https://hub-mirror.c.163.com",
    "https://mirror.baidubce.com",
    "https://ccr.ccs.tencentyun.com"
  ]
}
EOF

使用 docker info 命令,查看是否配置成功

创建 Docker 默认网络

方便容器间通过统一的默认网络实现互联互通,比如示例中 Odoo ERP 连接 PostgreSQL 数据库

docker network create mynet_default

使用 docker network ls 命令,查看默认网络是否创建成功

相关资料

my-docker-compose's People

Contributors

panxiaoan avatar

Stargazers

 avatar Roman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.