2025-01-29 07:29:35 +00:00
|
|
|
version: '3.7'
|
2024-10-02 13:20:54 +00:00
|
|
|
services:
|
2025-02-10 06:44:52 +00:00
|
|
|
back:
|
2025-02-10 07:05:17 +00:00
|
|
|
image: registry.verdnatura.es/salix-back:25.08.0-build1296
|
2025-02-10 07:00:02 +00:00
|
|
|
# image: back_try
|
2025-02-10 06:44:52 +00:00
|
|
|
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:
|
2025-02-10 06:44:52 +00:00
|
|
|
image: alexmorenovn/vndev:latest
|
|
|
|
command: quasar dev
|
|
|
|
volumes:
|
|
|
|
- .:/app
|
|
|
|
working_dir: /app
|
2025-02-10 07:16:05 +00:00
|
|
|
ports:
|
|
|
|
- '9000:9000'
|
2024-10-07 11:56:40 +00:00
|
|
|
e2e:
|
2025-02-10 06:44:52 +00:00
|
|
|
image: alexmorenovn/vndev:latest
|
2025-02-10 07:16:05 +00:00
|
|
|
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:
|
2025-02-10 06:44:52 +00:00
|
|
|
- .:/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
|
2024-10-07 11:51:21 +00:00
|
|
|
# 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
|
2024-10-07 11:51:21 +00:00
|
|
|
# volumes:
|
|
|
|
# - /var/run/docker.sock:/var/run/docker.sock
|
2024-10-07 11:56:40 +00:00
|
|
|
|
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
|
|
|
#
|