鲲鹏处理器与麒麟操作系统下arm64架构常用docker镜像安装
信创适配-鲲鹏处理器与麒麟操作系统下arm64架构常用docker镜像安装
·
鲲鹏处理器与麒麟操作系统下arm64架构常用docker镜像安装
1 涉及的常用软件有
备注:kdb_aarch64_v009r001c001b0024.tar为人大金仓数据库镜像
2 镜像下载
https://download.csdn.net/download/qq_37713191/88957945
https://download.csdn.net/download/qq_37713191/88957937
https://download.csdn.net/download/qq_37713191/88957891
https://download.csdn.net/download/qq_37713191/88958027
https://download.csdn.net/download/qq_37713191/88958215
3 镜像导入
#/bin/bashdocker load -i java8-aarch64.tar
docker load -i kdb_aarch64_v009r001c001b0024.tar
docker load -i arangodb-arm64.tar
docker load -i minio-RELEASE.2022-07-08T00-05-23Z-arm64.tar
docker load -i mysql-8.0.27-aarch64.tar
docker load -i nacos_2.1.2-1_arm64.tar
docker load -i nginx-1.21.4-aarch64.tar
docker load -i redis-7.0.4-armv8.tar
docker load -i zookeeper-arm64v8.tar
docker load -i kafka-arm64v8.tar
echo "docker load success installed!"
4 docker-compose
docker-basic_components.yml
version : '3'
networks:
project_cloud_network:
external: true
services:
project-redis:
container_name: project-redis
image: redis:7.0.4
restart: always
ports:
- 6379:6379
volumes:
- /data/project-cloud/redis/conf/redis.conf:/etc/redis/redis.conf
- /data/project-cloud/redis/data:/data
command:
/bin/bash -c "redis-server /etc/redis/redis.conf"
networks:
- project_cloud_network
project-nginx:
container_name: project-nginx
image: nginx:1.21.4
restart: always
ports:
- 8080:8080
volumes:
- /data/project-cloud/nginx/html:/data/html
- /data/project-cloud/nginx/logs:/var/log/nginx
- /data/project-cloud/nginx/conf.d:/etc/nginx/conf.d
- /data/project-cloud/nginx/ssl:/etc/nginx/ssl
networks:
- project_cloud_network
project-minio:
container_name: project-minio
image: minio/minio:RELEASE.2022-07-08T00-05-23Z-arm64
restart: always
ports:
- 29000:9000
- 29001:9001
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
TZ: Asia/Shanghai
LANG: en_US.UTF-8
volumes:
- /data/project-cloud/minio/data:/data
- /data/project-cloud/minio/config:/root/.minio
networks:
- project_cloud_network
project-mysql:
container_name: project-mysql
image: mysql/mysql-server:8.0.27
restart: always
ports:
- "3306:3306"
volumes:
- /data/project-cloud/mysql/conf:/etc/mysql/conf.d
- /data/project-cloud/mysql/logs:/var/log/mysql
- /data/project-cloud/mysql/data:/var/lib/mysql
environment:
TZ: Asia/Shanghai
LANG: en_US.UTF-8
MYSQL_DATABASE: project_cloud
MYSQL_ROOT_PASSWORD: 123456
MYSQL_USER: root
MYSQL_PASSWORD: 123456
networks:
- project_cloud_network
project-kingbase:
image: kingbase:v1
container_name: project-kingbase
environment:
- DB_USER=system
- DB_PASSWORD=kingbase
- DB_MODE=mysql
volumes:
- /data/project-cloud/kingbase:/home/kingbase/userdata/
ports:
- 54322:54321
restart: always
privileged: true
command:
/bin/bash -c "/usr/sbin/init"
networks:
- project_cloud_network
project-nacos:
container_name: project-nacos
image: nacos/nacos-server:v2.1.1-slim
restart: always
environment:
NACOS_SERVER_IP: 192.168.1.108
nacos.core.auth.enabled: "false"
TZ: Asia/Shanghai
MODE: standalone
SPRING_DATASOURCE_PLATFORM: mysql
JVM_XMS: 1024m
JVM_XMX: 1024m
JVM_XMN: 1024m
MYSQL_SERVICE_HOST: project-mysql
MYSQL_SERVICE_PORT: 3306
MYSQL_SERVICE_USER: root
MYSQL_SERVICE_PASSWORD: 123456
MYSQL_SERVICE_DB_NAME: nacos
MYSQL_SERVICE_DB_PARAM: characterEncoding=utf8&connectTimeout=10000&socketTimeout=3000&autoReconnect=true&useSSL=false&serverTimezone=UTC
volumes:
- /data/project-cloud/nacos/logs:/home/nacos/logs
ports:
- 8848:8848
- 9848:9848
- 9849:9849
networks:
- project_cloud_network
project-arangodb:
container_name: project-arangodb
image: arangodb:3.10.11
restart: always
ports:
- 8529:8529
volumes:
- /data/project-cloud/arangodb:/var/lib/arangodb3
environment:
ARANGO_ROOT_PASSWORD: 123456
networks:
- project_cloud_network
5 镜像启动
docker-compose -f docker-basic_components.yml up -d --build
更多推荐
已为社区贡献1条内容
所有评论(0)