version: '2' services: cups: build: context: ./cups args: ADMIN_USER: ${ADMIN_USER} ADMIN_PWD: ${ADMIN_PWD} restart: unless-stopped ports: - "127.0.0.1:35631:631" volumes: - /var/run/dbus:/var/run/dbus - /dev/bus/usb:/dev/bus/usb - ./data/cups/config:/etc/cups - ./data/cups/cache:/var/cache/cups - ./data/cups/log:/var/log/cups privileged: true