Spaces:
Runtime error
Runtime error
File size: 651 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 |
version: '3'
services:
mongodb-test:
image: mongo:4.2.15
container_name: mongo-auditforge-test
volumes:
- ./mongo-data-test:/data/db
restart: always
environment:
- MONGO_DB:auditforge
network_mode: host
backend-test:
image: auditforge:backend-test
build:
context: .
dockerfile: Dockerfile.test
container_name: auditforge-backend-test
volumes:
- ./tests:/app/tests
- ./src:/app/src
- ./jest.config.js:/app/jest.config.js
environment:
API_URL: https://localhost:4242
depends_on:
- mongodb-test
network_mode: host
volumes:
mongo-data-test:
|