Skip to content

Commit f5e526f

Browse files
committed
correctly link to mongodb
1 parent d41d4c2 commit f5e526f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ WORKDIR /tmp
2121
EXPOSE 8080
2222

2323
# Expects mongodb on port 27017
24-
CMD ["/usr/bin/java", "-jar", "/usr/lib/cwlvisualizer.jar", "-Dspring.data.mongodb.host=mongo"]
24+
CMD ["/usr/bin/java", "-Dspring.data.mongodb.host=mongo", "-jar", "/usr/lib/cwlvisualizer.jar"]

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
# TODO:
88
# volumes:
99
# - .:/code
10-
depends_on:
10+
links:
1111
- mongo
1212

1313
mongo:

0 commit comments

Comments
 (0)