42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
|
services:
|
||
|
front:
|
||
|
image: registry.verdnatura.es/salix-frontend:${VERSION:?}
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: ./Dockerfile.e2e
|
||
|
ports:
|
||
|
- 9000:9000
|
||
|
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 --ci -n salix-front_default
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: test/cypress/db/Dockerfile
|
||
|
target: db
|
||
|
volumes:
|
||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||
|
e2e:
|
||
|
image: registry.verdnatura.es/salix-frontend:${VERSION:?}
|
||
|
command: npx cypress run
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: ./Dockerfile.e2e
|
||
|
# e2e-2:
|
||
|
# image: registry.verdnatura.es/salix-frontend:${VERSION:?}
|
||
|
# command: npx cypress run --config-file test/cypress/configs/cypress.config.2.js
|
||
|
# build:
|
||
|
# context: .
|
||
|
# dockerfile: ./Dockerfile.e2e
|