docker compose v2
This commit is contained in:
parent
8eff12ea6a
commit
e0a0b440f0
10 changed files with 5 additions and 16 deletions
|
@ -1,5 +1,3 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
syncserver:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
web:
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
version: "3.3"
|
||||
services:
|
||||
|
||||
grafana:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
web:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
version: "3.3"
|
||||
|
||||
services:
|
||||
|
||||
traefik:
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#/bin/bash/
|
||||
|
||||
for dir in ./*/ ; do
|
||||
(cd "$dir" && echo "[$dir]" && docker-compose build);
|
||||
(cd "$dir" && echo "[$dir]" && docker compose build);
|
||||
done
|
||||
|
||||
for dir in ./*/ ; do
|
||||
(cd "$dir" && echo "[$dir]" && docker-compose pull);
|
||||
(cd "$dir" && echo "[$dir]" && docker compose pull);
|
||||
done
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
function up {
|
||||
(cd "$1" && echo "[$1]" && docker-compose up -d "${@:2}");
|
||||
(cd "$1" && echo "[$1]" && docker compose up -d "${@:2}");
|
||||
}
|
||||
|
||||
up proxy;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#/bin/bash/
|
||||
|
||||
for dir in ./*/ ; do
|
||||
(cd "$dir" && echo "[$dir]" && docker-compose down);
|
||||
(cd "$dir" && echo "[$dir]" && docker compose down);
|
||||
done
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
version: '3'
|
||||
services:
|
||||
app:
|
||||
image: wallabag/wallabag
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
version: "3.3"
|
||||
|
||||
services:
|
||||
|
||||
app:
|
||||
|
@ -28,3 +26,4 @@ services:
|
|||
networks:
|
||||
web:
|
||||
external: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue