This repository has been archived on 2024-10-02. You can view files and clone it, but cannot push or open issues or pull requests.
smart-tag/docker-compose.yml

21 lines
422 B
YAML

version: '3.7'
services:
main:
image: registry.verdnatura.es/smart-tag:${BRANCH_NAME:?}
build:
context: .
dockerfile: Dockerfile
ports:
- 7777
configs:
- source: config
target: /app/config.js
deploy:
replicas: ${API_REPLICAS:?}
placement:
constraints:
- node.role == worker
configs:
config:
external: true
name: smart-tag_config