Last active
February 6, 2020 13:35
-
-
Save Zejnilovic/d3cb0f8de2fe4d93d93559ccde6893a6 to your computer and use it in GitHub Desktop.
Docker compose for menas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: '3' | |
services: | |
arangodb: | |
image: arangodb:3.5.1 | |
environment: | |
ARANGO_NO_AUTH: 1 | |
volumes: | |
- /tmp/arangodb:/var/lib/arangodb3 | |
spline: | |
image: absaoss/spline-rest-server | |
ports: | |
- 9090:8080 | |
command: > | |
bash -c "echo 'Initializing Spline DB...' | |
# && curl -O -s https://repo1.maven.org/maven2/za/co/absa/spline/admin/0.4.1/admin-0.4.1.jar | |
&& java -jar ./admin-0.5.0.jar db-init arangodb://arangodb/spline -s | |
&& catalina.sh run" | |
environment: | |
spline.database.connectionUrl: 'arangodb://arangodb/spline' | |
links: | |
- arangodb | |
mongo: | |
image: mongo:4.2.3 | |
restart: always | |
ports: | |
- 27017:27017 | |
volumes: | |
- /tmp/mongo:/data/db | |
menas-ui: | |
build: . | |
ports: | |
- 8080:8080 | |
links: | |
- mongo | |
- spline | |
volumes: | |
- $HADOOP_CONF_DIR:/hadoop_conf_dir | |
deploy: | |
resources: | |
limits: | |
memory: 1000M | |
environment: | |
- JAVA_OPTS=-Dmenas.mongo.connection.string=mongodb://mongo:27017 -Dmenas.mongo.connection.database=menas_e2e -Dmenas.lineage.readApiUrl=//spline:9090/consumer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment