目前仅支持nacos配置中心和nacos注册中心,数据库支持mysql:
docker run -t -d -p 7091:7091 -p 8091:8091 \
--name seata-server \
-e SEATA_USERNAME=admin \
-e SEATA_PASSWORD=123456 \
-e SEATA_CONFIG_TYPE=nacos \
-e CONFIG_NACOS_SERVER_ADDR=192.168.0.47:8848 \
-e CONFIG_NACOS_NAMESPACE=ea1ec9e1-e026-4248-aaf7-d0532fbc825f \
-e CONFIG_NACOS_GROUP=SEATA_GROUP \
-e CONFIG_NACOS_USERNAME=nacos \
-e CONFIG_NACOS_PASSWORD=nacos \
-e CONFIG_NACOS_DATA_ID=seataServer.properties \
-e SEATA_REGISTRY_TYPE=nacos \
-e REGISTRY_NACOS_APPLICATION=seata-server \
-e REGISTRY_NACOS_SERVER_ADDR=192.168.0.47:8848 \
-e REGISTRY_NACOS_NAMESPACE=ea1ec9e1-e026-4248-aaf7-d0532fbc825f \
-e REGISTRY_NACOS_GROUP=SEATA_GROUP \
-e REGISTRY_NACOS_USERNAME=nacos \
-e REGISTRY_NACOS_PASSWORD=nacos \
-e REGISTRY_NACOS_CLUSTER=default \
-e LOG_LEVEL=INFO \
-e MYSQL_VERSION=8.0.2 \
-v /etc/localtime:/etc/localtime \
lengmianshi/seata-server:1.6.1
说明:
Content type
Image
Digest
sha256:e507a81b3…
Size
263.5 MB
Last updated
over 3 years ago
docker pull lengmianshi/seata-server:1.6.1