version: '3'
services:
printer1:
build: ./printer-daemon
ports:
- "7125:7125"
- "7130:7130"
volumes:
- /var/printfarm/printer1:/opt/printstack/data
command: ["/bin/bash", "-c", "/opt/printstack/entrypoint.sh"]