diff --git a/docker-compose.yml b/docker-compose.yml index 37009aeb9e..c2b642201b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,6 +24,22 @@ services: - "${DB_MYSQL_PORT}:3306" networks: - nocobase + kingbase: + image: registry.cn-shanghai.aliyuncs.com/nocobase/kingbase:v009r001c001b0030_single_x86 + platform: linux/amd64 + restart: always + privileged: true + networks: + - nocobase + ports: + - "${DB_KINGBASE_PORT}:54321" + environment: + ENABLE_CI: no + DB_USER: ${DB_USER} + DB_PASSWORD: ${DB_PASSWORD} + DB_MODE: pg + NEED_START: yes + command: ["/usr/sbin/init"] postgres: image: postgres:latest restart: always