Compare commits
2 commits
ad32fa5866
...
d3f687ea90
Author | SHA1 | Date | |
---|---|---|---|
d3f687ea90 | |||
f09a048c79 |
4 changed files with 15 additions and 11 deletions
|
@ -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 \
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#/bin/bash/
|
#/bin/bash/
|
||||||
|
|
||||||
|
for dir in ./*/ ; do
|
||||||
|
(cd "$dir" && echo "[$dir]" && docker-compose build);
|
||||||
|
done
|
||||||
|
|
||||||
for dir in ./*/ ; do
|
for dir in ./*/ ; do
|
||||||
(cd "$dir" && echo "[$dir]" && docker-compose pull);
|
(cd "$dir" && echo "[$dir]" && docker-compose pull);
|
||||||
done
|
done
|
||||||
|
|
9
pull-min.sh
Executable file
9
pull-min.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#/bin/bash/
|
||||||
|
|
||||||
|
function pull {
|
||||||
|
(cd "$1" && echo "[$1]" && docker-compose pull);
|
||||||
|
}
|
||||||
|
|
||||||
|
pull proxy;
|
||||||
|
pull telegraf;
|
||||||
|
pull portainer;
|
Loading…
Reference in a new issue