Add docker support

This commit is contained in:
viktorstrate
2019-07-29 23:39:38 +02:00
parent 5e41e4d34d
commit c70cc402b0
17 changed files with 15398 additions and 6719 deletions

View File

@@ -0,0 +1,33 @@
version: '3'
services:
neo4j:
build: ./docker/neo4j
expose:
- 7474
- 7687
environment:
- NEO4J_dbms_security_procedures_unrestricted=apoc.*
- NEO4J_apoc_import_file_enabled=true
- NEO4J_apoc_export_file_enabled=true
- NEO4J_dbms_shell_enabled=true
api:
build: ./api
ports:
- 4001:4001
depends_on:
- neo4j
environment:
- NEO4J_URI=bolt://neo4j:7687
ui:
build:
context: ./ui
args:
# Change This: The publicly exposed url for the api
endpoint: http://localhost:4001/graphql
ports:
- 3000:80
depends_on:
- api