salix-front/docker-compose.e2e.yml

45 lines
1.3 KiB
YAML
Raw Normal View History

2024-10-02 13:20:54 +00:00
services:
front:
image: registry.verdnatura.es/salix-frontend:${VERSION:?}
2024-10-21 09:34:39 +00:00
command: quasar serve --history --proxy ./proxy.mjs --hostname localhost --port 9000
2024-10-02 13:20:54 +00:00
build:
context: .
2024-10-21 09:34:39 +00:00
dockerfile: ./Dockerfile
2024-10-04 10:08:47 +00:00
network_mode: host
e2e:
image: registry.verdnatura.es/salix-frontend:${VERSION:?}
command: npx cypress run
build:
context: .
dockerfile: ./Dockerfile.e2e
network_mode: host
# db:
# image: db
# command: npx myt run -t --ci -d -n front_default
# build:
# context: .
# dockerfile: test/cypress/db/Dockerfile
# network_mode: host
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
2024-10-04 10:08:47 +00:00
# back:
# image: back
# build:
# context: ./salix
# dockerfile: salix/back/Dockerfile
# # depends_on:
# # - db
# ports:
# - 3000:3000
# - 5000:5000
# volumes:
# - ./test/cypress/storage:/salix/storage
2024-10-02 13:20:54 +00:00
# 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