代码拉取完成,页面将自动刷新
version: '3'
services:
iot-management:
image: registry.harbor.com:444/release/soaiot-devbus:release-v1.0.5-arm64
container_name: iot-management
hostname: iot-management
restart: always
links:
- iot-mysql
networks:
- cps-network
# network_mode: bridge
ports:
- "8083:8080"
volumes:
- "/cps/data/devbus/app/iot-management/app:/usr/local/app"
- "/etc/localtime:/etc/localtime:ro"
iot-mysql:
image: mysql:5.7.40
container_name: iot-mysql
hostname: iot-mysql
restart: always
networks:
- cps-network
# network_mode: bridge
ports:
- "3307:3306"
volumes:
- "/cps/data/devbus/mysql/iot-management/db:/var/lib/mysql"
- "/cps/data/devbus/mysql/iot-management/init:/docker-entrypoint-initdb.d"
- "/cps/data/devbus/mysql/iot-management/etc:/etc/mysql"
- "/cps/data/devbus/mysql/iot-management/log:/var/log/mysql"
- "/etc/localtime:/etc/localtime:ro"
environment:
MYSQL_ROOT_PASSWORD: MNycVZ!8^7k^Da*g
MYSQL_ROOT_USERNAME: root
TZ: Asia/Shanghai
MYSQL_DATABASE: soa_iot_xinhuasan
command: [
'--lower_case_table_names=1',
'--default-authentication-plugin=mysql_native_password',
'--character-set-server=utf8mb4',
'--collation-server=utf8mb4_unicode_ci',
'--sql_mode=STRICT_TRANS_TABLES',
'--group_concat_max_len=4294967295'
]
networks:
cps-network:
external: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。