aboutsummaryrefslogtreecommitdiff
path: root/.github/docker/docker-compose.yml
blob: ddaf839b5b8f3273dda802082d22e72f1507338a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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