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
|
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,8 +3,7 @@ version: "3.3"
|
||||||
services:
|
services:
|
||||||
|
|
||||||
cups:
|
cups:
|
||||||
build: .
|
image: olbat/cupsd
|
||||||
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
|
||||||
|
@ -12,6 +11,10 @@ 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}`)"
|
||||||
|
@ -20,3 +23,7 @@ services:
|
||||||
- "docker.group=print"
|
- "docker.group=print"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
networks:
|
||||||
|
web:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
#/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
|
||||||
|
|
|
@ -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