small improvements: script, nextclout, git
This commit is contained in:
parent
ddeab1fe89
commit
bf87e33277
3 changed files with 8 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
services:
|
services:
|
||||||
|
|
||||||
web:
|
forgejo:
|
||||||
image: codeberg.org/forgejo/forgejo:${FORGEJO_VERSION}
|
image: codeberg.org/forgejo/forgejo:${FORGEJO_VERSION}
|
||||||
volumes:
|
volumes:
|
||||||
- ${VOLUMES_PATH}/git/forgejo_data:/data
|
- ${VOLUMES_PATH}/git/forgejo_data:/data
|
||||||
|
|
|
@ -108,7 +108,7 @@ services:
|
||||||
|
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mariadb:10
|
image: mariadb:${MARIADB_VERSION}
|
||||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --skip-innodb-read-only-compressed
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --skip-innodb-read-only-compressed
|
||||||
volumes:
|
volumes:
|
||||||
- ${VOLUMES_PATH}/nextcloud/db:/var/lib/mysql
|
- ${VOLUMES_PATH}/nextcloud/db:/var/lib/mysql
|
||||||
|
|
10
pull-all.sh
10
pull-all.sh
|
@ -1,9 +1,11 @@
|
||||||
#/bin/bash/
|
#/bin/bash/
|
||||||
|
|
||||||
for dir in ./*/ ; do
|
for dir in ./*/ ; do
|
||||||
( cd "$dir" && echo "[Building $dir]" && docker compose build --pull );
|
echo "[Building and Pulling $dir]"
|
||||||
|
cd "$dir";
|
||||||
|
docker compose pull --ignore-buildable
|
||||||
|
docker compose build --pull;
|
||||||
|
cd ..;
|
||||||
|
echo;
|
||||||
done
|
done
|
||||||
|
|
||||||
for dir in ./*/ ; do
|
|
||||||
( cd "$dir" && echo "[Pulling $dir]" && docker compose pull --ignore-buildable );
|
|
||||||
done
|
|
||||||
|
|
Loading…
Reference in a new issue