Print Server aktualisiert
This commit is contained in:
parent
ad32fa5866
commit
f09a048c79
2 changed files with 2 additions and 11 deletions
|
@ -1,6 +1,4 @@
|
|||
ARG MAINTAINER
|
||||
FROM debian:bullseye
|
||||
MAINTAINER $MAINTAINER
|
||||
|
||||
# Install Packages (basic tools, cups, basic drivers, HP drivers)
|
||||
RUN apt-get update \
|
||||
|
|
|
@ -3,7 +3,8 @@ version: "3.3"
|
|||
services:
|
||||
|
||||
cups:
|
||||
image: olbat/cupsd
|
||||
build: .
|
||||
image: cupsd
|
||||
volumes:
|
||||
- /var/run/dbus:/var/run/dbus
|
||||
- ${VOLUMES_PATH}/cups:/etc/cups
|
||||
|
@ -11,10 +12,6 @@ services:
|
|||
- /dev/usblp0
|
||||
privileged: true
|
||||
network_mode: host
|
||||
# networks:
|
||||
# - web
|
||||
# ports:
|
||||
# - 631:631
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.cups.rule=Host(`print.${DOMAIN}`)"
|
||||
|
@ -23,7 +20,3 @@ services:
|
|||
- "docker.group=print"
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue