salix-front/docker-compose.e2e.yml

86 lines
2.4 KiB
YAML
Raw Normal View History

2025-01-29 07:29:35 +00:00
version: '3.7'
2024-10-02 13:20:54 +00:00
services:
back:
# image: registry.verdnatura.es/salix-back:${VERSION:?}
image: back_try
volumes:
- ./test/cypress/storage:/salix/storage
- ./test/cypress/back/datasources.json:/salix/loopback/server/datasources.json
ports:
- '3000:3000'
2024-10-02 13:20:54 +00:00
front:
image: alexmorenovn/vndev:latest
command: quasar dev
volumes:
- .:/app
working_dir: /app
# ports:
# - '9000:9000'
e2e:
image: alexmorenovn/vndev:latest
# command: pnpm exec cypress run --browser chromium
command: sh -c "pnpm exec cypress install && pnpm exec cypress run --browser chromium"
2025-02-05 08:32:02 +00:00
volumes:
- .:/app
working_dir: /app
db:
image: alexmorenovn/vn_db:latest
ports:
- '3306:3306'
# e2e:
# command: npx cypress run --browser chromium
# build:
# context: .
# dockerfile: ./Dockerfile.e2e
# volumes:
# - .:/app
# working_dir: /app
# front:
# # command: pnpx quasar dev
# # command: npx quasar serve --history --proxy ./proxy.mjs --hostname 127.0.0.1 --port 9000
# build:
# context: .
# dockerfile: ./Dockerfile.e2e
# network_mode: host
# e2e:
# command: pnpx cypress run --browser chromium
# build:
# context: .
# dockerfile: ./Dockerfile.e2e
# network_mode: host
# volumes:
# - ./node_modules:/app/node_modules
# db:
# image: db
# command: npx myt run -t --ci -d -n front_default
# build:
# context: .
# dockerfile: test/cypress/db/Dockerfile
# network_mode: host
2025-01-31 11:30:23 +00:00
# privileged: true
# 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
2025-01-31 11:30:23 +00:00
#