2022-03-30 13:29:20 +00:00
|
|
|
version: '3.7'
|
|
|
|
services:
|
2024-03-15 13:51:20 +00:00
|
|
|
main:
|
|
|
|
image: registry.verdnatura.es/salix-frontend:${BRANCH_NAME:?}
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Dockerfile
|
|
|
|
ports:
|
|
|
|
- 4000
|
|
|
|
deploy:
|
|
|
|
replicas: ${FRONT_REPLICAS:?}
|
|
|
|
placement:
|
|
|
|
constraints:
|
|
|
|
- node.role == worker
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: 1G
|