services: main: image: registry.verdnatura.es/salix-frontend:${VERSION:?} build: context: . dockerfile: ./Dockerfile ports: - 4000:4000 environment: - VUE_APP_API_URL=http://back:3000 back: image: registry.verdnatura.es/salix-back:${VERSION:?} build: context: . dockerfile: back/Dockerfile depends_on: - db ports: - 3000:3000 - 5000:5000 volumes: - ./test/cypress/storage:/salix/storage db: image: db command: npx myt run -t -d --ci -n salix-front_default build: context: . dockerfile: test/cypress/db/Dockerfile target: db volumes: - /var/run/docker.sock:/var/run/docker.sock