Fix docker bugs + improvements

This commit is contained in:
viktorstrate
2019-08-01 23:57:00 +02:00
parent a5d9923584
commit de7a6446f8
6 changed files with 108 additions and 82 deletions

View File

@@ -20,6 +20,9 @@ services:
- neo4j
environment:
- NEO4J_URI=bolt://neo4j:7687
# Change This: The publicly exposed url for the api
- GRAPHQL_LISTEN_HOST=http://localhost/
- GRAPHQL_LISTEN_PORT=4001
volumes:
# Change This: Link photo paths from the host machine
- ./photos_path:/photos
@@ -28,8 +31,8 @@ services:
build:
context: ./ui
args:
# Change This: The publicly exposed url for the api
endpoint: http://localhost:4001/graphql
# Change This: The publicly exposed url for the graphql api
GRAPHQL_ENDPOINT: http://localhost:4001/graphql
ports:
- 3000:80
depends_on: