nacos-postgresql ;nacos2.3.2 with postgresql
480
version: "3.8" services: nacos: image: jongbaker/nacos-postgresql:2.3.2 environment: #MODE: cluster #NACOS_SERVERS: nacos1:8848 nacos2:8848 nacos3:8848 # 基本配置 MODE: standalone PREFER_HOST_MODE: hostname # 数据库配置 SPRING_DATASOURCE_PLATFORM: postgresql NACOS_SERVERS: localhost:8848 PG_SERVICE_HOST: *** PG_SERVICE_PORT: *** PG_DB_NAME: nacos PG_USER: postgres PG_PASSWORD: *** # JVM配置 JVM_XMS: 2g JVM_XMX: 2g # 认证配置 - 重要!必须设置 NACOS_AUTH_ENABLE: "true" NACOS_AUTH_TOKEN: "TXlDdXN0b21TZWNyZXRLZXkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODk=" NACOS_AUTH_IDENTITY_KEY: "serverIdentity" NACOS_AUTH_IDENTITY_VALUE: "security" NACOS_AUTH_TOKEN_SECRET_KEY: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef ports: - "8848:8848" - "9848:9848" - "9555:9555
Content type
Image
Digest
sha256:f8a280959…
Size
374.9 MB
Last updated
over 1 year ago
docker pull jongbaker/nacos-postgresql:2.3.2