homeserver/print/docker-compose.yaml

23 lines
513 B
YAML
Raw Normal View History

2022-10-01 23:25:04 +02:00
version: "3.3"
services:
cups:
2022-11-12 14:26:57 +01:00
build: .
image: cupsd
2022-10-01 23:25:04 +02:00
volumes:
- /var/run/dbus:/var/run/dbus
- ${VOLUMES_PATH}/cups:/etc/cups
devices:
- /dev/usblp0
privileged: true
network_mode: host
labels:
- "traefik.enable=true"
- "traefik.http.routers.cups.rule=Host(`print.${DOMAIN}`)"
- "traefik.http.routers.cups.entrypoints=web"
- "traefik.http.services.cups.loadbalancer.server.port=631"
- "docker.group=print"
restart: unless-stopped