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