mylogger/docker-compose.yml

24 lines
455 B
YAML

version: '3.7'
services:
main:
image: registry.verdnatura.es/mylogger
build:
context: .
dockerfile: Dockerfile
args:
- VERSION=${VERSION:?}
configs:
- source: config
target: /mylogger/config.local.yml
deploy:
resources:
limits:
memory: 1G
placement:
constraints:
- node.role == worker
configs:
config:
external: true
name: mylogger_config