分类

链接

2024 年 12 月
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

近期文章

热门标签

新人福利,免费薅羊毛

docker-compose安装phpmyadmin

docker-compose.yml version : '3' services: mysql: container_name: mysql image: docker.m.daocloud.io/mysql:5.7 build: context: ./mysql ports: - "3306:3306" volumes: - ./mysql/conf/my.cnf:/etc/mysql/my.cnf - ./mysql/logs:/logs - ./mysql/data:/var/lib/mysql - ./mysql/init-sql/:/docker-entrypoint-initdb.d command: [ '--character-set-server=utf8mb4', '--collation-server=utf8mb4_gen...

Docker 暂无评论 阅读(24)

Amazon Linux 2023 安装Docker和Docker Compose

看系统和内核 shell 代码解读 复制代码 <span class="code-block-extension-codeLine" data-line-num="1"><span class="hljs-meta prompt_">$ </span><span class="bash"><span class="hljs-built_in">cat</span> /etc/system-release</span></span> <span class="code-block-extension-codeLine" data-line-num="2">Amazon Linux release 2023 (Amazon Linux)</span...

DevOps, Docker 暂无评论 阅读(43)

linux使用docker-compose安装和破解confluence 8.0.2

创建confluence部署目录confluence cd / mkdir -p /data/confluence /data/mysql   安装MySQL 8.0 confluence可以使用MySQL5.x、8.x,postgres等数据库,本次安装使用MySQL8.0. 编写MySQL的docker-compose 进入/data/mysql目录下,创建docker-compose-mysql.yml文件 vi /data/mysql/docker-compose-mysql.yml version: '3.2' services: mysql: container_name: mysql environment: MYSQL_ROOT_PASSWORD: "mysql" image: "mysql:latest" restart: al...

Others 暂无评论 阅读(1,019)

docker-compose通过容器名连接mysql

这是Mysql的配置: version :'3' services:   desneyMysql:     container_name: app_mysql     image: mysql:5.7     build:       context:./mysql     ports: -"3307:3306"     volumes: -./mysql/conf:/etc/mysql/conf.d -./mysql/logs:/logs -./mysql/data:/var/lib/mysql     command:[ 'mysqld', '--innodb-buffer-pool-size=80M', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci', '--default-time-zone=+8:00', '--lower-case-table-names=1' ]     environment:       MY...

Docker, k8s, MySQL 暂无评论 阅读(88)

mac os m1可用的NACOS

#dockerfile # 基础镜像 FROM zhusaidong/nacos-server-m1:2.0.3 # author MAINTAINER bruce # 复制conf文件到路径 COPY ./conf/application.properties /home/nacos/conf/application.properties #docker-compose danoneNacos: container_name: danoneNacos image: danone-nacos build: context: ./nacos environment: - MODE=standalone - JVM_XMS=512m - JVM_XMX=5126m - JVM_XMN=256m volumes: - ./nacos/logs/:/home/nacos/logs - ./nacos/c...

Docker 暂无评论 阅读(135)

安装docker-compose(国内高速镜像)

安装docker-compose(国内高速镜像) gihub上下载docker-compose太慢了,下载不动,只能换成国内镜像(daocloud.io)来下载。 下载 for docker(1.13.xx) curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.4/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose for docker-ce(17+) curl -L https://get.daocloud.io/docker/compose/releases/download/1.29.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose for docker-ce(20+) #curl -L...

Docker 暂无评论 阅读(774)