You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virtual-patient/docker/nebula-graph/docker-compose-lite.yaml

110 lines
2.9 KiB
YAML

version: '3.4'
services:
virtual-patient-nebula-metad:
image: vesoft/nebula-metad:v3.6.0
container_name: virtual-patient-nebula-metad
environment:
USER: root
command:
- --meta_server_addrs=virtual-patient-nebula-metad:9559
- --local_ip=virtual-patient-nebula-metad
- --ws_ip=virtual-patient-nebula-metad
- --port=9559
- --ws_http_port=19559
- --data_path=/data/nebula-graph/meta
- --log_dir=/logs
- --v=0
- --minloglevel=0
healthcheck:
test: [ "CMD", "curl", "-sf", "http://virtual-patient-nebula-metad:19559/status" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
ports:
- 9559:9559
- 19559:19559
- 19560
volumes:
- ./data/virtual-patient-nebula-metad:/data/nebula-graph/meta
- ./logs/virtual-patient-nebula-metad:/data/nebula-graph/logs
networks:
- virtual-patient-network
restart: on-failure
cap_add:
- SYS_PTRACE
virtual-patient-nebula-storaged:
image: vesoft/nebula-storaged:v3.6.0
environment:
USER: root
TZ: "${TZ}"
command:
- --meta_server_addrs=virtual-patient-nebula-metad:9559
- --local_ip=virtual-patient-nebula-storaged
- --ws_ip=virtual-patient-nebula-storaged
- --port=9779
- --ws_http_port=19779
- --data_path=/data/storage
- --log_dir=/logs
- --v=0
- --minloglevel=0
depends_on:
- virtual-patient-nebula-metad
healthcheck:
test: [ "CMD", "curl", "-sf", "http://virtual-patient-nebula-storaged:19779/status" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
ports:
- 9779:9779
- 19779:19779
- 19780
volumes:
- ./data/virtual-patient-nebula-storaged:/data/nebula-graph/storage
- ./logs/virtual-patient-nebula-storaged:/data/nebula-graph/logs
networks:
- virtual-patient-network
restart: on-failure
cap_add:
- SYS_PTRACE
virtual-patient-nebula-graphd:
image: vesoft/nebula-graphd:v3.6.0
environment:
USER: root
TZ: "${TZ}"
command:
- --meta_server_addrs=virtual-patient-nebula-metad:9559
- --port=9669
- --local_ip=virtual-patient-nebula-graphd
- --ws_ip=virtual-patient-nebula-graphd
- --ws_http_port=19669
- --log_dir=/logs
- --v=0
- --minloglevel=0
depends_on:
- virtual-patient-nebula-storaged
healthcheck:
test: [ "CMD", "curl", "-sf", "http://virtual-patient-nebula-graphd:19669/status" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
ports:
- 9669:9669
- 19669:19669
- 19670
volumes:
- ./logs/virtual-patient-nebula-graphd:/data/nebula-graph/logs
networks:
- virtual-patient-network
restart: on-failure
cap_add:
- SYS_PTRACE
networks:
virtual-patient-network:
external: true