worker-time-control/docker-compose.yml

20 lines
385 B
YAML

version: '3.7'
services:
main:
image: registry.verdnatura.es/worker-time-control
build: .
ports:
- 80
configs:
- source: config
target: /usr/local/apache2/htdocs/config.js
deploy:
replicas: 1
placement:
constraints:
- node.role == worker
configs:
config:
external: true
name: worker-time-control_config