Compare commits
No commits in common. "d3f687ea90c278e0960ad3e127ebe71fc53b15af" and "ad32fa5866f4eeaba1252f3adb5e1ecf8b112dc5" have entirely different histories.
d3f687ea90
...
ad32fa5866
4 changed files with 11 additions and 15 deletions
|
@ -1,4 +1,6 @@
|
|||
ARG MAINTAINER
|
||||
FROM debian:bullseye
|
||||
MAINTAINER $MAINTAINER
|
||||
|
||||
# Install Packages (basic tools, cups, basic drivers, HP drivers)
|
||||
RUN apt-get update \
|
||||
|
|
|
@ -3,8 +3,7 @@ version: "3.3"
|
|||
services:
|
||||
|
||||
cups:
|
||||
build: .
|
||||
image: cupsd
|
||||
image: olbat/cupsd
|
||||
volumes:
|
||||
- /var/run/dbus:/var/run/dbus
|
||||
- ${VOLUMES_PATH}/cups:/etc/cups
|
||||
|
@ -12,6 +11,10 @@ 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}`)"
|
||||
|
@ -20,3 +23,7 @@ services:
|
|||
- "docker.group=print"
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
#/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
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
#/bin/bash/
|
||||
|
||||
function pull {
|
||||
(cd "$1" && echo "[$1]" && docker-compose pull);
|
||||
}
|
||||
|
||||
pull proxy;
|
||||
pull telegraf;
|
||||
pull portainer;
|
Loading…
Add table
Add a link
Reference in a new issue