mirror of https://gitee.com/bigwinds/arangodb
87 lines
2.4 KiB
YAML
87 lines
2.4 KiB
YAML
name: @CPACK_PACKAGE_NAME@
|
|
version: @CPACK_PACKAGE_VERSION@-@ARANGODB_PACKAGE_REVISION@
|
|
description: "ArangoDB is a native multi-model database with flexible data models for
|
|
documents, graphs, and key-values. Build high performance applications using a convenient
|
|
SQL-like query language or JavaScript extensions. https://www.arangodb.com"
|
|
summary: ArangoDB3 Server - One Core. One Query Language. Multiple Data Models.
|
|
|
|
icon: arangodb.png
|
|
|
|
confinement: strict
|
|
#confinement: devmode
|
|
|
|
grade: stable
|
|
#grade: devel
|
|
|
|
parts:
|
|
@CPACK_PACKAGE_NAME@:
|
|
source: @CMAKE_BINARY_DIR@/@CPACK_PACKAGE_FILE_NAME@.tar.gz
|
|
plugin: dump
|
|
prime:
|
|
- -etc
|
|
- -var
|
|
- -lib
|
|
|
|
apps:
|
|
arangod:
|
|
command: env GLIBCXX_FORCE_NEW=1 arangod \
|
|
--configuration=none \
|
|
--server.endpoint=tcp://0.0.0.0:@SNAP_PORT@ \
|
|
--javascript.startup-directory=${SNAP}/@CMAKE_INSTALL_DATAROOTDIR_ARANGO@/js \
|
|
--database.directory=${SNAP_COMMON}/db3 \
|
|
--javascript.app-path=${SNAP_COMMON} \
|
|
--temp.path=${SNAP_DATA} \
|
|
--log.file=${SNAP_DATA}/arangodb3.log
|
|
|
|
daemon: simple # run as service
|
|
|
|
plugs: # enable interfaces
|
|
- network
|
|
- network-bind
|
|
|
|
arango:
|
|
command: arangod
|
|
plugs: # enable interfaces
|
|
|
|
- network
|
|
- network-bind
|
|
|
|
arangosh:
|
|
command: arangosh \
|
|
--server.endpoint=tcp://127.0.0.1:@SNAP_PORT@ \
|
|
--javascript.startup-directory=${SNAP}/@CMAKE_INSTALL_DATAROOTDIR_ARANGO@/js
|
|
plugs: # enable interfaces
|
|
- network
|
|
|
|
arangodump:
|
|
command: arangodump \
|
|
--server.endpoint=tcp://127.0.0.1:@SNAP_PORT@ \
|
|
--output-directory=${SNAP_DATA}/dump
|
|
plugs: # enable interfaces
|
|
- network
|
|
|
|
arangoimport:
|
|
command: arangoimport \
|
|
--server.endpoint=tcp://127.0.0.1:@SNAP_PORT@ \
|
|
--temp.path=${SNAP_DATA}
|
|
plugs: # enable interfaces
|
|
- network
|
|
|
|
arangorestore:
|
|
command: arangorestore \
|
|
--server.endpoint=tcp://127.0.0.1:@SNAP_PORT@ \
|
|
--input-directory=${SNAP_DATA}/dump \
|
|
--temp.path=${SNAP_DATA}
|
|
plugs: # enable interfaces
|
|
- network
|
|
|
|
arangobench:
|
|
command: arangobench \
|
|
--server.endpoint=tcp://127.0.0.1:@SNAP_PORT@ \
|
|
--temp.path=${SNAP_DATA}
|
|
plugs: # enable interfaces
|
|
- network
|
|
|
|
arangovpack:
|
|
command: arangovpack
|