aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 0feb8311e79980624685bc6899a951322f8285d3 (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
version: "3.7"
services:

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

  caronte:
    build:
      context: .
      dockerfile: Dockerfile
    image: caronte
    ports:
      - "3333:3333"
    depends_on:
      - mongo
    networks:
      - acheronet
    command: ./caronte -mongo-host mongo -mongo-port 27017

networks:
  acheronet: