Print Server aktualisiert

This commit is contained in:
Florian Zirker 2022-11-12 14:26:57 +01:00
parent ad32fa5866
commit f09a048c79
2 changed files with 2 additions and 11 deletions

View file

@ -1,6 +1,4 @@
ARG MAINTAINER
FROM debian:bullseye FROM debian:bullseye
MAINTAINER $MAINTAINER
# Install Packages (basic tools, cups, basic drivers, HP drivers) # Install Packages (basic tools, cups, basic drivers, HP drivers)
RUN apt-get update \ RUN apt-get update \

View file

@ -3,7 +3,8 @@ version: "3.3"
services: services:
cups: cups:
image: olbat/cupsd build: .
image: cupsd
volumes: volumes:
- /var/run/dbus:/var/run/dbus - /var/run/dbus:/var/run/dbus
- ${VOLUMES_PATH}/cups:/etc/cups - ${VOLUMES_PATH}/cups:/etc/cups
@ -11,10 +12,6 @@ services:
- /dev/usblp0 - /dev/usblp0
privileged: true privileged: true
network_mode: host network_mode: host
# networks:
# - web
# ports:
# - 631:631
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.cups.rule=Host(`print.${DOMAIN}`)" - "traefik.http.routers.cups.rule=Host(`print.${DOMAIN}`)"
@ -23,7 +20,3 @@ services:
- "docker.group=print" - "docker.group=print"
restart: unless-stopped restart: unless-stopped
networks:
web:
external: true