Compare commits

..

2 commits

Author SHA1 Message Date
d3f687ea90 Skripte angepasst 2022-11-12 14:32:07 +01:00
f09a048c79 Print Server aktualisiert 2022-11-12 14:26:57 +01:00
4 changed files with 15 additions and 11 deletions

View file

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

View file

@ -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

View file

@ -1,5 +1,9 @@
#/bin/bash/
for dir in ./*/ ; do
(cd "$dir" && echo "[$dir]" && docker-compose build);
done
for dir in ./*/ ; do
(cd "$dir" && echo "[$dir]" && docker-compose pull);
done

9
pull-min.sh Executable file
View file

@ -0,0 +1,9 @@
#/bin/bash/
function pull {
(cd "$1" && echo "[$1]" && docker-compose pull);
}
pull proxy;
pull telegraf;
pull portainer;