aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.testing.yml
blob: 9d75af91ce872296b18581cfbbe66b559af97b5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: "3.7"
services:

  mongo:
    image: mongo:4
    networks:
      - acheronet
    restart: always

  caronte:
    build:
      context: .
      dockerfile: Dockerfile.testing
    image: caronte
    ports:
      - "6666:6666"
    depends_on:
      - mongo
    networks:
      - acheronet
    command: "./scripts/travis_tests.sh"
    environment:
      MONGO_HOST: mongo
      MONGO_PORT: 27017

networks:
  acheronet: