salix/docker-compose.test.yml

34 lines
719 B
YAML
Raw Normal View History

version: "3.7"
services:
db:
image: salix-db
restart: always
build:
context: db
dockerfile: Dockerfile
front:
image: salix-front
restart: always
command: ["npm", "run", "test:front:ci"]
build:
context: .
dockerfile: front/Dockerfile.test
depends_on:
- back
back:
image: salix-back
restart: always
command: ["npm", "run", "test:back:ci"]
build:
context: .
dockerfile: back/Dockerfile.test
environment:
- NODE_ENV
depends_on:
- db
networks:
salix-stack-network:
driver: host