diff --git a/print/Dockerfile b/print/Dockerfile index 1ea1351..e86626d 100644 --- a/print/Dockerfile +++ b/print/Dockerfile @@ -1,6 +1,4 @@ -ARG MAINTAINER FROM debian:bullseye -MAINTAINER $MAINTAINER # Install Packages (basic tools, cups, basic drivers, HP drivers) RUN apt-get update \ diff --git a/print/docker-compose.yaml b/print/docker-compose.yaml index bd1f2e0..7740629 100644 --- a/print/docker-compose.yaml +++ b/print/docker-compose.yaml @@ -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 - diff --git a/pull-all.sh b/pull-all.sh index 369015c..e29394f 100755 --- a/pull-all.sh +++ b/pull-all.sh @@ -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 diff --git a/pull-min.sh b/pull-min.sh new file mode 100755 index 0000000..26f6b61 --- /dev/null +++ b/pull-min.sh @@ -0,0 +1,9 @@ +#/bin/bash/ + +function pull { + (cd "$1" && echo "[$1]" && docker-compose pull); +} + +pull proxy; +pull telegraf; +pull portainer;