openspg/dev/test/docker-compose.yml

56 lines
1.6 KiB
YAML
Raw Permalink Normal View History

version: "3.7"
2023-10-26 10:34:08 +08:00
services:
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
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
ports:
2024-10-24 22:24:24 +08:00
- "7474:7474"
- "7687:7687"
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
2025-04-25 16:19:27 +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
TZ: Asia/Shanghai
ports:
- 9000:9000
- 9001:9001
volumes:
- /etc/localtime:/etc/localtime:ro