2023-10-26 10:34:08 +08:00
|
|
|
version: "3.7"
|
|
|
|
services:
|
2024-01-06 11:56:42 +08:00
|
|
|
server:
|
|
|
|
restart: always
|
2024-08-26 14:43:10 +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
|
|
|
|
- tugraph
|
|
|
|
- elasticsearch
|
|
|
|
command: [
|
|
|
|
'--server.repository.impl.jdbc.host=mysql',
|
2024-01-08 20:07:26 +08:00
|
|
|
'--server.repository.impl.jdbc.password=openspg',
|
|
|
|
'--cloudext.graphstore.url=tugraph://tugraph:9090?graphName=default&timeout=50000&accessId=admin&accessKey=73@TuGraph',
|
|
|
|
'--cloudext.searchengine.url=elasticsearch://elasticsearch:9200?scheme=http'
|
2024-01-06 11:56:42 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
mysql:
|
|
|
|
restart: always
|
2024-08-26 14:43:10 +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
|
|
|
|
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'
|
|
|
|
]
|
|
|
|
|
|
|
|
tugraph:
|
2024-01-07 12:20:20 +08:00
|
|
|
image: tugraph/tugraph-runtime-centos7:4.0.1
|
2024-01-06 11:56:42 +08:00
|
|
|
container_name: release-openspg-tugraph
|
|
|
|
# default username is admin and default password is 73@TuGraph
|
|
|
|
ports:
|
|
|
|
- "7070:7070"
|
|
|
|
- "9090:9090"
|
|
|
|
command: lgraph_server
|
|
|
|
|
|
|
|
elasticsearch:
|
|
|
|
image: elasticsearch:8.5.3
|
|
|
|
container_name: release-openspg-elasticsearch
|
|
|
|
ports:
|
|
|
|
- "9200:9200"
|
|
|
|
- "9300:9300"
|
|
|
|
environment:
|
|
|
|
- discovery.type=single-node
|
|
|
|
- xpack.security.enabled=false
|