From 72aa59591e82d0cdeabff7dc947cd5cdd36fa74f Mon Sep 17 00:00:00 2001 From: simon987 Date: Fri, 7 Aug 2020 21:08:58 -0400 Subject: [PATCH] Add compose file --- .gitignore | 3 ++- docker-compose.yml | 13 +++++++++++++ musicgraph.iml | 2 -- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 docker-compose.yml delete mode 100644 musicgraph.iml diff --git a/.gitignore b/.gitignore index b151e28..df8e4d2 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,5 @@ hs_err_pid* .idea/ -target/ \ No newline at end of file +target/ +*.iml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..3c26112 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +version: "3" +services: + mg_api: + image: simon987/music-graph-api + environment: + - "NEO4J_ADDR=localhost:7687" + - "PG_URL=localhost:5432/musicbrainz_db" + - "PG_USERNAME=musicbrainz" + - "PG_PASSWORD=musicbrainz" + mg_ui: + image: simon987/music-graph-ui + ports: + - 8080:80 diff --git a/musicgraph.iml b/musicgraph.iml deleted file mode 100644 index 78b2cc5..0000000 --- a/musicgraph.iml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file