Skip to content

Commit

Permalink
docker-compose develop
Browse files Browse the repository at this point in the history
  • Loading branch information
deepukr007 committed Jan 10, 2024
1 parent b888b64 commit 5cb530f
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 6 deletions.
39 changes: 39 additions & 0 deletions docker-compose.develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
services:
yarrrml-parser:
container_name: yarrrml-parser
environment:
- PORT=${PARSER_PORT}
build: ./yarrrml-parser
expose:
- ${PARSER_PORT}
restart: always
networks:
- json2rdf_net

rmlmapper:
environment:
- PORT=${MAPPER_PORT}
container_name: rmlmapper
build: ./rmlmapper-webapi
expose:
- ${MAPPER_PORT}
restart: always
networks:
- json2rdf_net

json2rdf:
environment:
- parser_url=http://yarrrml-parser:${PARSER_PORT}
- mapper_url=http://rmlmapper:${MAPPER_PORT}
container_name: json2rdf
build: ./api
ports:
- ${CONV_PORT}:${API_PORT}
restart: always
networks:
- json2rdf_net

networks:
json2rdf_net:
name: json2rdf_net
driver: bridge
9 changes: 3 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
services:
yarrrml-parser:
container_name: yarrrml-parser
environment:
- PORT=${PARSER_PORT}
build: ./yarrrml-parser
image: ghcr.io/mi-fraunhoferiwm/yarrrml-parser:main
expose:
- ${PARSER_PORT}
restart: always
Expand All @@ -13,8 +12,7 @@ services:
rmlmapper:
environment:
- PORT=${MAPPER_PORT}
container_name: rmlmapper
build: ./rmlmapper-webapi
image: ghcr.io/mi-fraunhoferiwm/rmlmapper:main
expose:
- ${MAPPER_PORT}
restart: always
Expand All @@ -25,8 +23,7 @@ services:
environment:
- parser_url=http://yarrrml-parser:${PARSER_PORT}
- mapper_url=http://rmlmapper:${MAPPER_PORT}
container_name: json2rdf
build: ./api
image: ghcr.io/mi-fraunhoferiwm/json2rdf:main
ports:
- ${CONV_PORT}:${API_PORT}
restart: always
Expand Down

0 comments on commit 5cb530f

Please sign in to comment.