2022-03-30 13:29:20 +00:00
|
|
|
services:
|
2024-09-30 12:30:53 +00:00
|
|
|
main:
|
|
|
|
image: registry.verdnatura.es/salix-frontend:${VERSION:?}
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Dockerfile
|
|
|
|
ports:
|
|
|
|
- 4000:4000
|
|
|
|
environment:
|
|
|
|
- VUE_APP_API_URL=http://back:3000
|
|
|
|
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 -d --ci -n salix-front_default
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: test/cypress/db/Dockerfile
|
|
|
|
target: db
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|