change phpfpm to debian-bulleye with downgraded tls support

This commit is contained in:
2024-09-25 14:49:37 -05:00
parent f536c40268
commit 496d8000b0
4 changed files with 394 additions and 3 deletions

2
bin/bash Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
docker compose exec phpfpm ash

9
bin/dumpdb Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
export $(grep -v '^#' .env.db | xargs)
DATE_TIME=$(date +%Y%m%d%H%M)
echo "Dumping $MARIADB_DATABASE SQL"
docker compose exec -T db mariadb-dump -u root -p$MARIADB_ROOT_PASSWORD $MARIADB_DATABASE > partsv2-$DATE_TIME.sql
echo "Gzipping file...."
gzip partsv2-$DATE_TIME.sql
echo "Done"