aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.testing.yml
blob: 019628c324cbb73462a87601a3a8f0cb6494c2cc (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:
      - caronte-net
    restart: always

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

networks:
  caronte-net: