salix-front/docker-compose.yml

32 lines
861 B
YAML
Raw Normal View History

2022-03-30 13:29:20 +00:00
services:
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