File size: 758 Bytes
56b6519
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '3'
services:
  mongodb:
    image: mongo:4.2.15
    container_name: mongo-auditforge-dev
    volumes:
      - ./mongo-data-dev:/data/db
    restart: always
    ports:
      - 127.0.0.1:27017:27017
    environment:
      - MONGO_DB:auditforge
    networks:
      - backend

  auditforge-backend:
    build:
      context: .
      dockerfile: Dockerfile.dev
    image: auditforge:backend-dev
    container_name: auditforge-backend-dev
    volumes:
      - ./src:/app/src
      - ./ssl:/app/ssl
      - ./report-templates:/app/report-templates
    depends_on:
      - mongodb
    restart: always
    ports:
      - 5252:5252
    links:
      - mongodb
    networks:
      - backend

volumes:
  mongo-data-dev:

networks:
  backend:
    driver: bridge