2022-03-30 13:29:20 +00:00
|
|
|
version: '3.7'
|
|
|
|
services:
|
|
|
|
main:
|
2022-03-30 13:39:46 +00:00
|
|
|
image: registry.verdnatura.es/salix-frontend:${BRANCH_NAME:?}
|
2022-03-30 13:29:20 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Dockerfile
|
|
|
|
ports:
|
2022-03-30 13:45:38 +00:00
|
|
|
- 4000
|
|
|
|
deploy:
|
|
|
|
replicas: 2
|
|
|
|
placement:
|
|
|
|
constraints:
|
|
|
|
- node.role == worker
|