docker compose v2
This commit is contained in:
parent
bdefc29ce6
commit
0e1e41abfd
14 changed files with 14 additions and 28 deletions
|
@ -1,9 +1,7 @@
|
||||||
version: "3.3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: linuxserver/heimdall:2.4.10
|
image: linuxserver/heimdall:${HEIMDALL_VERSION}
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
version: "3.3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
app:
|
app:
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
version: "3.3"
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana:8.1.3
|
image: grafana/grafana:${GRAFANA_VERSION}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
expose:
|
expose:
|
||||||
- "3000"
|
- "3000"
|
||||||
|
@ -37,7 +36,7 @@ services:
|
||||||
|
|
||||||
|
|
||||||
grafanadb:
|
grafanadb:
|
||||||
image: postgres:13
|
image: postgres:${POSTGRES_VERSION}
|
||||||
volumes:
|
volumes:
|
||||||
- ${VOLUMES_PATH}/grafanadb:/var/lib/postgresql/data
|
- ${VOLUMES_PATH}/grafanadb:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
|
@ -52,7 +51,7 @@ services:
|
||||||
|
|
||||||
|
|
||||||
influxdb:
|
influxdb:
|
||||||
image: influxdb:1.8
|
image: influxdb:${INFLUXDB_VERSION}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
version: "3.3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
app:
|
app:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
version: "3.3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
cups:
|
cups:
|
||||||
|
@ -9,7 +7,7 @@ services:
|
||||||
- /var/run/dbus:/var/run/dbus
|
- /var/run/dbus:/var/run/dbus
|
||||||
- ${VOLUMES_PATH}/cups:/etc/cups
|
- ${VOLUMES_PATH}/cups:/etc/cups
|
||||||
devices:
|
devices:
|
||||||
- /dev/usblp0
|
- /dev/usb/lp0
|
||||||
privileged: true
|
privileged: true
|
||||||
network_mode: host
|
network_mode: host
|
||||||
labels:
|
labels:
|
||||||
|
@ -19,4 +17,5 @@ services:
|
||||||
- "traefik.http.services.cups.loadbalancer.server.port=631"
|
- "traefik.http.services.cups.loadbalancer.server.port=631"
|
||||||
- "docker.group=print"
|
- "docker.group=print"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
pull_policy: build
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
version: "3.3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:v2.4
|
image: traefik:${TRAEFIK_VERSION}
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#/bin/bash/
|
#/bin/bash/
|
||||||
|
|
||||||
for dir in ./*/ ; do
|
for dir in ./*/ ; do
|
||||||
(cd "$dir" && echo "[$dir]" && docker-compose build);
|
(cd "$dir" && echo "[$dir]" && docker compose build --pull);
|
||||||
done
|
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,7 +1,7 @@
|
||||||
#/bin/bash/
|
#/bin/bash/
|
||||||
|
|
||||||
function pull {
|
function pull {
|
||||||
(cd "$1" && echo "[$1]" && docker-compose pull);
|
(cd "$1" && echo "[$1]" && docker compose pull);
|
||||||
}
|
}
|
||||||
|
|
||||||
pull proxy;
|
pull proxy;
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
version: "3.3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
homeassistant:
|
homeassistant:
|
||||||
image: ghcr.io/home-assistant/home-assistant:stable
|
image: ghcr.io/home-assistant/home-assistant:stable
|
||||||
volumes:
|
volumes:
|
||||||
- ${VOLUMES_PATH}/homeassistent:/config
|
- ${VOLUMES_PATH}/homeassistent:/config
|
||||||
|
- /run/dbus:/run/dbus:ro
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
|
|
||||||
function up {
|
function up {
|
||||||
(cd "$1" && echo "[$1]" && docker-compose up -d "${@:2}");
|
(cd "$1" && echo "[$1]" && docker compose up -d "${@:2}");
|
||||||
}
|
}
|
||||||
|
|
||||||
up proxy;
|
up proxy;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
|
|
||||||
function up {
|
function up {
|
||||||
(cd "$1" && echo "[$1]" && docker-compose up -d "${@:2}");
|
(cd "$1" && echo "[$1]" && docker compose up -d "${@:2}");
|
||||||
}
|
}
|
||||||
|
|
||||||
up proxy;
|
up proxy;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#/bin/bash/
|
#/bin/bash/
|
||||||
|
|
||||||
for dir in ./*/ ; do
|
for dir in ./*/ ; do
|
||||||
(cd "$dir" && echo "[$dir]" && docker-compose down);
|
(cd "$dir" && echo "[$dir]" && docker compose down);
|
||||||
done
|
done
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
version: "3.3"
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
host:
|
host:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
version: "3.3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
qbittorrent:
|
qbittorrent:
|
||||||
image: linuxserver/qbittorrent
|
image: linuxserver/qbittorrent
|
||||||
|
|
Loading…
Reference in a new issue