aboutsummaryrefslogtreecommitdiff
path: root/.github/docker/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/docker/docker-compose.yml')
-rw-r--r--.github/docker/docker-compose.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/docker/docker-compose.yml b/.github/docker/docker-compose.yml
new file mode 100644
index 0000000..ddaf839
--- /dev/null
+++ b/.github/docker/docker-compose.yml
@@ -0,0 +1,22 @@
+version: "3.7"
+services:
+
+ mongo:
+ image: mongo:4.4
+
+ test-backend:
+ build:
+ context: ../../
+ dockerfile: .github/docker/Dockerfile-backend
+ image: caronte-test-backend
+ depends_on:
+ - mongo
+ environment:
+ MONGO_HOST: mongo
+ MONGO_PORT: 27017
+
+ test-frontend:
+ build:
+ context: ../../
+ dockerfile: .github/docker/Dockerfile-frontend
+ image: caronte-test-frontend