version: '3.7' services: back: image: registry.verdnatura.es/salix-back:25.08.0-build1296 # image: back_try volumes: - ./test/cypress/storage:/salix/storage - ./test/cypress/back/datasources.json:/salix/loopback/server/datasources.json ports: - '3000:3000' 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" 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 # privileged: true # volumes: # - /var/run/docker.sock:/var/run/docker.sock # back: # image: back # build: # context: ./salix # dockerfile: salix/back/Dockerfile # # depends_on: # # - db # ports: # - 3000:3000 # - 5000:5000 # volumes: # - ./test/cypress/storage:/salix/storage # 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 #