2024-10-31 23:28:51 -07:00
|
|
|
version: "3.7"
|
2023-10-26 10:34:08 +08:00
|
|
|
services:
|
2024-01-06 11:56:42 +08:00
|
|
|
server:
|
|
|
|
restart: always
|
2024-10-24 22:23:08 +08:00
|
|
|
image: spg-registry.cn-hangzhou.cr.aliyuncs.com/spg/openspg-server:latest
|
2024-01-06 11:56:42 +08:00
|
|
|
container_name: release-openspg-server
|
|
|
|
ports:
|
|
|
|
- "8887:8887"
|
|
|
|
depends_on:
|
|
|
|
- mysql
|
2024-10-24 16:24:48 +08:00
|
|
|
- neo4j
|
2025-01-07 20:29:17 +08:00
|
|
|
- minio
|
2024-10-25 15:42:03 +08:00
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
environment:
|
|
|
|
TZ: Asia/Shanghai
|
|
|
|
LANG: C.UTF-8
|
2024-01-06 11:56:42 +08:00
|
|
|
command: [
|
2024-10-29 19:04:09 +08:00
|
|
|
"java",
|
|
|
|
"-Dfile.encoding=UTF-8",
|
2024-11-21 20:00:04 -08:00
|
|
|
"-Xms2048m",
|
|
|
|
"-Xmx8192m",
|
2024-10-29 19:04:09 +08:00
|
|
|
"-jar",
|
|
|
|
"arks-sofaboot-0.0.1-SNAPSHOT-executable.jar",
|
2024-01-06 11:56:42 +08:00
|
|
|
'--server.repository.impl.jdbc.host=mysql',
|
2024-01-08 20:07:26 +08:00
|
|
|
'--server.repository.impl.jdbc.password=openspg',
|
2024-11-21 20:00:04 -08:00
|
|
|
'--builder.model.execute.num=5',
|
2024-10-24 16:24:48 +08:00
|
|
|
'--cloudext.graphstore.url=neo4j://release-openspg-neo4j:7687?user=neo4j&password=neo4j@openspg&database=neo4j',
|
|
|
|
'--cloudext.searchengine.url=neo4j://release-openspg-neo4j:7687?user=neo4j&password=neo4j@openspg&database=neo4j'
|
2024-01-06 11:56:42 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
mysql:
|
|
|
|
restart: always
|
2024-10-24 22:23:08 +08:00
|
|
|
image: spg-registry.cn-hangzhou.cr.aliyuncs.com/spg/openspg-mysql:latest
|
2024-01-06 11:56:42 +08:00
|
|
|
container_name: release-openspg-mysql
|
2024-10-25 15:42:03 +08:00
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2024-01-06 11:56:42 +08:00
|
|
|
environment:
|
|
|
|
TZ: Asia/Shanghai
|
|
|
|
LANG: C.UTF-8
|
|
|
|
MYSQL_ROOT_PASSWORD: openspg
|
|
|
|
MYSQL_DATABASE: openspg
|
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
|
|
|
command: [
|
|
|
|
'--character-set-server=utf8mb4',
|
|
|
|
'--collation-server=utf8mb4_general_ci'
|
|
|
|
]
|
|
|
|
|
2024-10-24 16:24:48 +08:00
|
|
|
neo4j:
|
2025-01-07 20:38:28 +08:00
|
|
|
restart: always
|
2024-10-24 22:23:08 +08:00
|
|
|
image: spg-registry.cn-hangzhou.cr.aliyuncs.com/spg/openspg-neo4j:latest
|
2024-10-24 16:24:48 +08:00
|
|
|
container_name: release-openspg-neo4j
|
2024-01-06 11:56:42 +08:00
|
|
|
ports:
|
2024-10-24 16:24:48 +08:00
|
|
|
- "7474:7474"
|
|
|
|
- "7687:7687"
|
2024-01-06 11:56:42 +08:00
|
|
|
environment:
|
2024-10-25 15:42:03 +08:00
|
|
|
- TZ=Asia/Shanghai
|
2024-10-24 16:24:48 +08:00
|
|
|
- NEO4J_AUTH=neo4j/neo4j@openspg
|
|
|
|
- NEO4J_PLUGINS=["apoc"]
|
|
|
|
- NEO4J_server_memory_heap_initial__size=1G
|
|
|
|
- NEO4J_server_memory_heap_max__size=4G
|
|
|
|
- NEO4J_server_memory_pagecache_size=1G
|
|
|
|
- NEO4J_apoc_export_file_enabled=true
|
|
|
|
- NEO4J_apoc_import_file_enabled=true
|
|
|
|
- NEO4J_dbms_security_procedures_unrestricted=*
|
|
|
|
- NEO4J_dbms_security_procedures_allowlist=*
|
|
|
|
volumes:
|
2024-10-25 15:42:03 +08:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2024-10-24 16:24:48 +08:00
|
|
|
- $HOME/dozerdb/logs:/logs
|
2025-01-07 20:29:17 +08:00
|
|
|
|
|
|
|
minio:
|
|
|
|
image: spg-registry.cn-hangzhou.cr.aliyuncs.com/spg/openspg-minio:latest
|
|
|
|
container_name: release-openspg-minio
|
|
|
|
command: server --console-address ":9001" /data
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
MINIO_ACCESS_KEY: minio
|
|
|
|
MINIO_SECRET_KEY: minio@openspg
|
2025-01-07 20:38:28 +08:00
|
|
|
TZ: Asia/Shanghai
|
2025-01-07 20:29:17 +08:00
|
|
|
ports:
|
|
|
|
- 9000:9000
|
|
|
|
- 9001:9001
|
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|