aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 5d6813cb9a308388b73fbb92904ba38622c199f4 (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:
      - "80:3333"
    depends_on:
      - mongo
    networks:
      - acheronet
    command: ./caronte -mongo-host mongo -mongo-port 27017

networks:
  acheronet: