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
|
|
|
mysql:
|
|
|
|
restart: always
|
2024-10-24 22:24:24 +08:00
|
|
|
image: spg-registry.cn-hangzhou.cr.aliyuncs.com/spg/openspg-mysql:latest
|
|
|
|
container_name: release-openspg-mysql
|
2024-10-25 15:44:16 +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'
|
|
|
|
]
|
2023-10-26 10:34:08 +08:00
|
|
|
|
2024-10-24 22:24:24 +08:00
|
|
|
neo4j:
|
|
|
|
image: spg-registry.cn-hangzhou.cr.aliyuncs.com/spg/openspg-neo4j:latest
|
|
|
|
container_name: release-openspg-neo4j
|
2024-01-06 11:56:42 +08:00
|
|
|
ports:
|
2024-10-24 22:24:24 +08:00
|
|
|
- "7474:7474"
|
|
|
|
- "7687:7687"
|
2024-01-06 11:56:42 +08:00
|
|
|
environment:
|
2024-10-25 15:44:16 +08:00
|
|
|
- TZ=Asia/Shanghai
|
2024-10-24 22:24:24 +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:44:16 +08:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2024-10-24 22:24:24 +08:00
|
|
|
- $HOME/dozerdb/logs:/logs
|